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§
Sourcefn get_near_clip_plane(self) -> f32
fn get_near_clip_plane(self) -> f32
get_NearClipPlane() overload
Sourcefn set_near_clip_plane(self, value: impl Into<f32>)
fn set_near_clip_plane(self, value: impl Into<f32>)
set_NearClipPlane(f32) overload
Sourcefn get_far_clip_plane(self) -> f32
fn get_far_clip_plane(self) -> f32
get_FarClipPlane() overload
Sourcefn set_far_clip_plane(self, value: impl Into<f32>)
fn set_far_clip_plane(self, value: impl Into<f32>)
set_FarClipPlane(f32) overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn try_change(self, camera: impl Into<Camera>) -> bool
fn try_change(self, camera: impl Into<Camera>) -> bool
TryChange(crate::unity_engine::camera::Camera) overload
Sourcefn try_initialize(self, camera: impl Into<Camera>) -> bool
fn try_initialize(self, camera: impl Into<Camera>) -> bool
TryInitialize(crate::unity_engine::camera::Camera) 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: ICameraController> ICameraControllerMethods for __T
Available on crate feature
app-cameracontroller only.