pub trait ICameraSwitchMethods: ICameraSwitch {
Show 14 methods
// Provided methods
fn get_source_camera(self) -> Camera { ... }
fn set_source_camera(self, value: impl Into<Camera>) { ... }
fn get_current_camera(self) -> CameraPosition { ... }
fn set_current_camera(self, value: impl Into<CameraPosition>) { ... }
fn get_current_interrupt_camera(self) -> CameraPosition { ... }
fn set_current_interrupt_camera(self, value: impl Into<CameraPosition>) { ... }
fn get_is_interrupting(self) -> bool { ... }
fn get_item(self, pos: impl Into<CameraPosition>) -> BaseCameraController { ... }
fn start(self) { ... }
fn update(self) { ... }
fn late_update(self) { ... }
fn switch_camera(
self,
next_camera: impl Into<CameraPosition>,
force: impl Into<bool>,
) { ... }
fn start_transition(self, next_camera: impl Into<BaseCameraController>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_source_camera(self) -> Camera
fn get_source_camera(self) -> Camera
get_SourceCamera() overload
Sourcefn set_source_camera(self, value: impl Into<Camera>)
fn set_source_camera(self, value: impl Into<Camera>)
set_SourceCamera(crate::unity_engine::camera::Camera) overload
Sourcefn get_current_camera(self) -> CameraPosition
fn get_current_camera(self) -> CameraPosition
get_CurrentCamera() overload
Sourcefn set_current_camera(self, value: impl Into<CameraPosition>)
fn set_current_camera(self, value: impl Into<CameraPosition>)
set_CurrentCamera(crate::combat::cameraposition::CameraPosition) overload
Sourcefn get_current_interrupt_camera(self) -> CameraPosition
fn get_current_interrupt_camera(self) -> CameraPosition
get_CurrentInterruptCamera() overload
Sourcefn set_current_interrupt_camera(self, value: impl Into<CameraPosition>)
fn set_current_interrupt_camera(self, value: impl Into<CameraPosition>)
set_CurrentInterruptCamera(crate::combat::cameraposition::CameraPosition) overload
Sourcefn get_is_interrupting(self) -> bool
fn get_is_interrupting(self) -> bool
get_IsInterrupting() overload
Sourcefn get_item(self, pos: impl Into<CameraPosition>) -> BaseCameraController
fn get_item(self, pos: impl Into<CameraPosition>) -> BaseCameraController
get_Item(crate::combat::cameraposition::CameraPosition) overload
Sourcefn late_update(self)
fn late_update(self)
LateUpdate() overload
Sourcefn switch_camera(
self,
next_camera: impl Into<CameraPosition>,
force: impl Into<bool>,
)
fn switch_camera( self, next_camera: impl Into<CameraPosition>, force: impl Into<bool>, )
SwitchCamera(crate::combat::cameraposition::CameraPosition, bool) overload
Sourcefn start_transition(self, next_camera: impl Into<BaseCameraController>)
fn start_transition(self, next_camera: impl Into<BaseCameraController>)
StartTransition(crate::combat::basecameracontroller::BaseCameraController) 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: ICameraSwitch> ICameraSwitchMethods for __T
Available on crate feature
combat-cameraswitch only.