pub trait IWaterV2Methods: IWaterV2 {
// Provided methods
fn on_will_render_object(self) { ... }
fn on_disable(self) { ... }
fn update(self) { ... }
fn update_camera_modes(
self,
src: impl Into<Camera>,
dest: impl Into<Camera>,
) { ... }
fn create_water_objects(
self,
current_camera: impl Into<Camera>,
) -> (Camera, Camera) { ... }
fn get_water_mode(self) -> WaterV2_WaterMode { ... }
fn find_hardware_water_support(self) -> WaterV2_WaterMode { ... }
fn camera_space_plane(
self,
cam: impl Into<Camera>,
pos: impl Into<Vector3>,
normal: impl Into<Vector3>,
side_sign: impl Into<f32>,
) -> Vector4 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_will_render_object(self)
fn on_will_render_object(self)
OnWillRenderObject() overload
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn update_camera_modes(self, src: impl Into<Camera>, dest: impl Into<Camera>)
fn update_camera_modes(self, src: impl Into<Camera>, dest: impl Into<Camera>)
UpdateCameraModes(crate::unity_engine::camera::Camera, crate::unity_engine::camera::Camera) overload
Sourcefn create_water_objects(
self,
current_camera: impl Into<Camera>,
) -> (Camera, Camera)
fn create_water_objects( self, current_camera: impl Into<Camera>, ) -> (Camera, Camera)
CreateWaterObjects(crate::unity_engine::camera::Camera, *mutcrate::unity_engine::camera::Camera, *mutcrate::unity_engine::camera::Camera) overload
Sourcefn get_water_mode(self) -> WaterV2_WaterMode
fn get_water_mode(self) -> WaterV2_WaterMode
GetWaterMode() overload
Sourcefn find_hardware_water_support(self) -> WaterV2_WaterMode
fn find_hardware_water_support(self) -> WaterV2_WaterMode
FindHardwareWaterSupport() 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: IWaterV2> IWaterV2Methods for __T
Available on crate feature
app-water-waterv2 only.