Skip to main content

IAvatarMaskMethods

Trait IAvatarMaskMethods 

Source
pub trait IAvatarMaskMethods: IAvatarMask {
    // Provided methods
    fn get_humanoid_body_part_active(
        self,
        index: impl Into<AvatarMaskBodyPart>,
    ) -> bool { ... }
    fn get_transform_count(self) -> i32 { ... }
    fn get_transform_path(self, index: impl Into<i32>) -> Il2CppString { ... }
    fn get_transform_weight(self, index: impl Into<i32>) -> f32 { ... }
    fn get_transform_active(self, index: impl Into<i32>) -> bool { ... }
}

Provided Methods§

Source

fn get_humanoid_body_part_active( self, index: impl Into<AvatarMaskBodyPart>, ) -> bool

GetHumanoidBodyPartActive(crate::unity_engine::avatarmaskbodypart::AvatarMaskBodyPart) overload

Source

fn get_transform_count(self) -> i32

get_transformCount() overload

Source

fn get_transform_path(self, index: impl Into<i32>) -> Il2CppString

GetTransformPath(i32) overload

Source

fn get_transform_weight(self, index: impl Into<i32>) -> f32

GetTransformWeight(i32) overload

Source

fn get_transform_active(self, index: impl Into<i32>) -> bool

GetTransformActive(i32) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IAvatarMask> IAvatarMaskMethods for __T

Available on crate feature unity_engine-avatarmask only.