Skip to main content

ICameraSwitchMethods

Trait ICameraSwitchMethods 

Source
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§

Source

fn get_source_camera(self) -> Camera

get_SourceCamera() overload

Source

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

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

Source

fn get_current_camera(self) -> CameraPosition

get_CurrentCamera() overload

Source

fn set_current_camera(self, value: impl Into<CameraPosition>)

set_CurrentCamera(crate::combat::cameraposition::CameraPosition) overload

Source

fn get_current_interrupt_camera(self) -> CameraPosition

get_CurrentInterruptCamera() overload

Source

fn set_current_interrupt_camera(self, value: impl Into<CameraPosition>)

set_CurrentInterruptCamera(crate::combat::cameraposition::CameraPosition) overload

Source

fn get_is_interrupting(self) -> bool

get_IsInterrupting() overload

Source

fn get_item(self, pos: impl Into<CameraPosition>) -> BaseCameraController

get_Item(crate::combat::cameraposition::CameraPosition) overload

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn late_update(self)

LateUpdate() overload

Source

fn switch_camera( self, next_camera: impl Into<CameraPosition>, force: impl Into<bool>, )

SwitchCamera(crate::combat::cameraposition::CameraPosition, bool) overload

Source

fn start_transition(self, next_camera: impl Into<BaseCameraController>)

StartTransition(crate::combat::basecameracontroller::BaseCameraController) 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: ICameraSwitch> ICameraSwitchMethods for __T

Available on crate feature combat-cameraswitch only.