Struct oxygengine_ha_renderer::asset_protocols::rig::RigAsset
source · pub struct RigAsset { /* private fields */ }Implementations§
source§impl RigAsset
impl RigAsset
pub fn new( skeleton: SkeletonHierarchy, deformer: Deformer, controls: Vec<RigAssetControl> ) -> Self
pub fn skeleton(&self) -> &SkeletonHierarchy
pub fn deformer(&self) -> &Deformer
pub fn controls(&self) -> &[RigAssetControl]
pub fn build_skeleton(&self) -> Result<Skeleton, RigAssetError>
pub fn build_controls(&self, registry: &Registry) -> Vec<RigControl>
pub fn build_rig(&self, registry: &Registry) -> Result<Rig, RigAssetError>
Trait Implementations§
source§impl<'de> Deserialize<'de> for RigAsset
impl<'de> Deserialize<'de> for RigAsset
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RigAsset
impl Send for RigAsset
impl Sync for RigAsset
impl Unpin for RigAsset
impl UnwindSafe for RigAsset
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more