Skip to main content

IAvatarMethods

Trait IAvatarMethods 

Source
pub trait IAvatarMethods: IAvatar {
Show 24 methods // Provided methods fn ctor(self) { ... } fn get_is_valid(self) -> bool { ... } fn get_is_human(self) -> bool { ... } fn get_human_description(self) -> HumanDescription { ... } fn set_muscle_min_max( self, muscle_id: impl Into<i32>, min: impl Into<f32>, max: impl Into<f32>, ) { ... } fn set_parameter(self, parameter_id: impl Into<i32>, value: impl Into<f32>) { ... } fn get_axis_length(self, human_id: impl Into<i32>) -> f32 { ... } fn get_pre_rotation(self, human_id: impl Into<i32>) -> Quaternion { ... } fn get_post_rotation(self, human_id: impl Into<i32>) -> Quaternion { ... } fn get_zy_post_q( self, human_id: impl Into<i32>, parent_q: impl Into<Quaternion>, q: impl Into<Quaternion>, ) -> Quaternion { ... } fn get_zy_roll( self, human_id: impl Into<i32>, uvw: impl Into<Vector3>, ) -> Quaternion { ... } fn get_limit_sign(self, human_id: impl Into<i32>) -> Vector3 { ... } fn internal_get_axis_length(self, human_id: impl Into<i32>) -> f32 { ... } fn internal_get_pre_rotation(self, human_id: impl Into<i32>) -> Quaternion { ... } fn internal_get_post_rotation(self, human_id: impl Into<i32>) -> Quaternion { ... } fn internal_get_zy_post_q( self, human_id: impl Into<i32>, parent_q: impl Into<Quaternion>, q: impl Into<Quaternion>, ) -> Quaternion { ... } fn internal_get_zy_roll( self, human_id: impl Into<i32>, uvw: impl Into<Vector3>, ) -> Quaternion { ... } fn internal_get_limit_sign(self, human_id: impl Into<i32>) -> Vector3 { ... } fn get_human_description_injected(self) -> HumanDescription { ... } fn internal_get_pre_rotation_injected( self, human_id: impl Into<i32>, ) -> Quaternion { ... } fn internal_get_post_rotation_injected( self, human_id: impl Into<i32>, ) -> Quaternion { ... } fn internal_get_zy_post_q_injected( self, human_id: impl Into<i32>, ) -> (Quaternion, Quaternion, Quaternion) { ... } fn internal_get_zy_roll_injected( self, human_id: impl Into<i32>, ) -> (Vector3, Quaternion) { ... } fn internal_get_limit_sign_injected( self, human_id: impl Into<i32>, ) -> Vector3 { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn get_is_valid(self) -> bool

get_isValid() overload

Source

fn get_is_human(self) -> bool

get_isHuman() overload

Source

fn get_human_description(self) -> HumanDescription

get_humanDescription() overload

Source

fn set_muscle_min_max( self, muscle_id: impl Into<i32>, min: impl Into<f32>, max: impl Into<f32>, )

SetMuscleMinMax(i32, f32, f32) overload

Source

fn set_parameter(self, parameter_id: impl Into<i32>, value: impl Into<f32>)

SetParameter(i32, f32) overload

Source

fn get_axis_length(self, human_id: impl Into<i32>) -> f32

GetAxisLength(i32) overload

Source

fn get_pre_rotation(self, human_id: impl Into<i32>) -> Quaternion

GetPreRotation(i32) overload

Source

fn get_post_rotation(self, human_id: impl Into<i32>) -> Quaternion

GetPostRotation(i32) overload

Source

fn get_zy_post_q( self, human_id: impl Into<i32>, parent_q: impl Into<Quaternion>, q: impl Into<Quaternion>, ) -> Quaternion

GetZYPostQ(i32, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::quaternion::Quaternion) overload

Source

fn get_zy_roll( self, human_id: impl Into<i32>, uvw: impl Into<Vector3>, ) -> Quaternion

GetZYRoll(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn get_limit_sign(self, human_id: impl Into<i32>) -> Vector3

GetLimitSign(i32) overload

Source

fn internal_get_axis_length(self, human_id: impl Into<i32>) -> f32

Internal_GetAxisLength(i32) overload

Source

fn internal_get_pre_rotation(self, human_id: impl Into<i32>) -> Quaternion

Internal_GetPreRotation(i32) overload

Source

fn internal_get_post_rotation(self, human_id: impl Into<i32>) -> Quaternion

Internal_GetPostRotation(i32) overload

Source

fn internal_get_zy_post_q( self, human_id: impl Into<i32>, parent_q: impl Into<Quaternion>, q: impl Into<Quaternion>, ) -> Quaternion

Internal_GetZYPostQ(i32, crate::unity_engine::quaternion::Quaternion, crate::unity_engine::quaternion::Quaternion) overload

Source

fn internal_get_zy_roll( self, human_id: impl Into<i32>, uvw: impl Into<Vector3>, ) -> Quaternion

Internal_GetZYRoll(i32, crate::unity_engine::vector3::Vector3) overload

Source

fn internal_get_limit_sign(self, human_id: impl Into<i32>) -> Vector3

Internal_GetLimitSign(i32) overload

Source

fn get_human_description_injected(self) -> HumanDescription

get_humanDescription_Injected(*mutcrate::unity_engine::humandescription::HumanDescription) overload

Source

fn internal_get_pre_rotation_injected( self, human_id: impl Into<i32>, ) -> Quaternion

Internal_GetPreRotation_Injected(i32, *mutcrate::unity_engine::quaternion::Quaternion) overload

Source

fn internal_get_post_rotation_injected( self, human_id: impl Into<i32>, ) -> Quaternion

Internal_GetPostRotation_Injected(i32, *mutcrate::unity_engine::quaternion::Quaternion) overload

Source

fn internal_get_zy_post_q_injected( self, human_id: impl Into<i32>, ) -> (Quaternion, Quaternion, Quaternion)

Internal_GetZYPostQ_Injected(i32, *mutcrate::unity_engine::quaternion::Quaternion, *mutcrate::unity_engine::quaternion::Quaternion, *mutcrate::unity_engine::quaternion::Quaternion) overload

Source

fn internal_get_zy_roll_injected( self, human_id: impl Into<i32>, ) -> (Vector3, Quaternion)

Internal_GetZYRoll_Injected(i32, *mutcrate::unity_engine::vector3::Vector3, *mutcrate::unity_engine::quaternion::Quaternion) overload

Source

fn internal_get_limit_sign_injected(self, human_id: impl Into<i32>) -> Vector3

Internal_GetLimitSign_Injected(i32, *mutcrate::unity_engine::vector3::Vector3) 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: IAvatar> IAvatarMethods for __T

Available on crate feature unity_engine-avatar only.