Skip to main content

IEventCharacterLookAtControllerMethods

Trait IEventCharacterLookAtControllerMethods 

Source
pub trait IEventCharacterLookAtControllerMethods: IEventCharacterLookAtController {
    // Provided methods
    fn ctor(self) { ... }
    fn init(self, character: impl Into<Character>, pid: impl Into<Il2CppString>) { ... }
    fn update(self) { ... }
    fn reset(self, msec: impl Into<f32>) { ... }
    fn set_target_object_of_eye(
        self,
        target: impl Into<GameObject>,
        msec: impl Into<f32>,
    ) { ... }
    fn set_target_object_of_head(
        self,
        target: impl Into<GameObject>,
        msec: impl Into<f32>,
    ) { ... }
    fn calc_default_target_pos(self) -> Vector3 { ... }
    fn set_weight_of_eye(self, weight: impl Into<f32>, msec: impl Into<f32>) { ... }
    fn set_weight_of_head(self, weight: impl Into<f32>, msec: impl Into<f32>) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn init(self, character: impl Into<Character>, pid: impl Into<Il2CppString>)

Init(crate::combat::character::Character, ::unity::Il2CppString) overload

Source

fn update(self)

Update() overload

Source

fn reset(self, msec: impl Into<f32>)

Reset(f32) overload

Source

fn set_target_object_of_eye( self, target: impl Into<GameObject>, msec: impl Into<f32>, )

SetTargetObjectOfEye(crate::unity_engine::gameobject::GameObject, f32) overload

Source

fn set_target_object_of_head( self, target: impl Into<GameObject>, msec: impl Into<f32>, )

SetTargetObjectOfHead(crate::unity_engine::gameobject::GameObject, f32) overload

Source

fn calc_default_target_pos(self) -> Vector3

CalcDefaultTargetPos() overload

Source

fn set_weight_of_eye(self, weight: impl Into<f32>, msec: impl Into<f32>)

SetWeightOfEye(f32, f32) overload

Source

fn set_weight_of_head(self, weight: impl Into<f32>, msec: impl Into<f32>)

SetWeightOfHead(f32, f32) 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: IEventCharacterLookAtController> IEventCharacterLookAtControllerMethods for __T

Available on crate feature app-eventcharacterlookatcontroller only.