Skip to main content

ICameraControllerMethods

Trait ICameraControllerMethods 

Source
pub trait ICameraControllerMethods: ICameraController {
    // Provided methods
    fn get_near_clip_plane(self) -> f32 { ... }
    fn set_near_clip_plane(self, value: impl Into<f32>) { ... }
    fn get_far_clip_plane(self) -> f32 { ... }
    fn set_far_clip_plane(self, value: impl Into<f32>) { ... }
    fn start(self) { ... }
    fn late_update(self) { ... }
    fn try_change(self, camera: impl Into<Camera>) -> bool { ... }
    fn try_initialize(self, camera: impl Into<Camera>) -> bool { ... }
    fn tick(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_near_clip_plane(self) -> f32

get_NearClipPlane() overload

Source

fn set_near_clip_plane(self, value: impl Into<f32>)

set_NearClipPlane(f32) overload

Source

fn get_far_clip_plane(self) -> f32

get_FarClipPlane() overload

Source

fn set_far_clip_plane(self, value: impl Into<f32>)

set_FarClipPlane(f32) overload

Source

fn start(self)

Start() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn try_change(self, camera: impl Into<Camera>) -> bool

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

Source

fn try_initialize(self, camera: impl Into<Camera>) -> bool

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

Source

fn tick(self)

Tick() overload

Source

fn ctor(self)

.ctor() 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: ICameraController> ICameraControllerMethods for __T

Available on crate feature app-cameracontroller only.