Skip to main content

IMainMenuSequence_CameraWorkMethods

Trait IMainMenuSequence_CameraWorkMethods 

Source
pub trait IMainMenuSequence_CameraWorkMethods: IMainMenuSequence_CameraWork {
    // Provided methods
    fn get_camera(self) -> Camera { ... }
    fn set_camera(self, value: impl Into<Camera>) { ... }
    fn get_animator(self) -> Animator { ... }
    fn set_animator(self, value: impl Into<Animator>) { ... }
    fn get_look_at_target(self) -> GameObject { ... }
    fn set_look_at_target(self, value: impl Into<GameObject>) { ... }
    fn ctor(
        self,
        camera: impl Into<Camera>,
        animator: impl Into<Animator>,
        look_at_target: impl Into<GameObject>,
    ) { ... }
    fn is_playing_anim(self, anim_name: impl Into<Il2CppString>) -> bool { ... }
    fn play_anim(
        self,
        anim_name: impl Into<Il2CppString>,
        duration_msec: impl Into<i32>,
    ) { ... }
}

Provided Methods§

Source

fn get_camera(self) -> Camera

get_Camera() overload

Source

fn set_camera(self, value: impl Into<Camera>)

set_Camera(crate::unity_engine::camera::Camera) overload

Source

fn get_animator(self) -> Animator

get_Animator() overload

Source

fn set_animator(self, value: impl Into<Animator>)

set_Animator(crate::unity_engine::animator::Animator) overload

Source

fn get_look_at_target(self) -> GameObject

get_LookAtTarget() overload

Source

fn set_look_at_target(self, value: impl Into<GameObject>)

set_LookAtTarget(crate::unity_engine::gameobject::GameObject) overload

Source

fn ctor( self, camera: impl Into<Camera>, animator: impl Into<Animator>, look_at_target: impl Into<GameObject>, )

.ctor(crate::unity_engine::camera::Camera, crate::unity_engine::animator::Animator, crate::unity_engine::gameobject::GameObject) overload

Source

fn is_playing_anim(self, anim_name: impl Into<Il2CppString>) -> bool

IsPlayingAnim(::unity::Il2CppString) overload

Source

fn play_anim( self, anim_name: impl Into<Il2CppString>, duration_msec: impl Into<i32>, )

PlayAnim(::unity::Il2CppString, 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: IMainMenuSequence_CameraWork> IMainMenuSequence_CameraWorkMethods for __T

Available on crate feature app-mainmenusequence only.