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§
Sourcefn init(self, character: impl Into<Character>, pid: impl Into<Il2CppString>)
fn init(self, character: impl Into<Character>, pid: impl Into<Il2CppString>)
Init(crate::combat::character::Character, ::unity::Il2CppString) overload
Sourcefn set_target_object_of_eye(
self,
target: impl Into<GameObject>,
msec: impl Into<f32>,
)
fn set_target_object_of_eye( self, target: impl Into<GameObject>, msec: impl Into<f32>, )
SetTargetObjectOfEye(crate::unity_engine::gameobject::GameObject, f32) overload
Sourcefn set_target_object_of_head(
self,
target: impl Into<GameObject>,
msec: impl Into<f32>,
)
fn set_target_object_of_head( self, target: impl Into<GameObject>, msec: impl Into<f32>, )
SetTargetObjectOfHead(crate::unity_engine::gameobject::GameObject, f32) overload
Sourcefn calc_default_target_pos(self) -> Vector3
fn calc_default_target_pos(self) -> Vector3
CalcDefaultTargetPos() overload
Sourcefn set_weight_of_eye(self, weight: impl Into<f32>, msec: impl Into<f32>)
fn set_weight_of_eye(self, weight: impl Into<f32>, msec: impl Into<f32>)
SetWeightOfEye(f32, f32) overload
Sourcefn set_weight_of_head(self, weight: impl Into<f32>, msec: impl Into<f32>)
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§
impl<__T: IEventCharacterLookAtController> IEventCharacterLookAtControllerMethods for __T
Available on crate feature
app-eventcharacterlookatcontroller only.