Skip to main content

ServerDistantLightHooks

Trait ServerDistantLightHooks 

Source
pub trait ServerDistantLightHooks: ServerCompositionLightHooks {
    // Provided methods
    fn deserialize_changes_extra(&self, _reader: &mut BatchStreamReader<'_>) { ... }
    fn on_fields_deserialized(&self, _changed: DistantLightChangedFields) { ... }
    fn on_coordinate_space_changed(&self) { ... }
    fn on_coordinate_space_changing(&self) { ... }
}
Expand description

The partial methods of ServerDistantLight: implemented by the class that embeds ServerDistantLightProps. 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§