Skip to main content

DistantLightHooks

Trait DistantLightHooks 

Source
pub trait DistantLightHooks: CompositionLightHooks {
Show 13 methods // Provided methods fn initialize_defaults_extra(&self) { ... } fn validate_color_change(&self, _old_value: Color, _new_value: Color) { ... } fn on_color_changed(&self) { ... } fn on_color_changing(&self) { ... } fn validate_coordinate_space_change( &self, _old_value: &Option<Rc<dyn ICompositionObject>>, _new_value: &Option<Rc<dyn ICompositionObject>>, ) { ... } fn on_coordinate_space_changed(&self) { ... } fn on_coordinate_space_changing(&self) { ... } fn validate_direction_change( &self, _old_value: Vector3D, _new_value: Vector3D, ) { ... } fn on_direction_changed(&self) { ... } fn on_direction_changing(&self) { ... } fn validate_intensity_change(&self, _old_value: f32, _new_value: f32) { ... } fn on_intensity_changed(&self) { ... } fn on_intensity_changing(&self) { ... }
}
Expand description

The partial methods of DistantLight: implemented by the class that embeds DistantLightProps. Every hook defaults to doing nothing.

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§