pub struct SceneRenderSettings {
pub sun: Option<ObjRef>,
pub ambient: Option<UnityAmbient>,
pub fog: Option<UnityFog>,
}Expand description
A scene’s RenderSettings as read (Scene::render_settings).
Fields§
§sun: Option<ObjRef>m_Sun: the Light the scene names as its sun.
ambient: Option<UnityAmbient>The ambient lighting; None when the RenderSettings state no m_AmbientMode.
fog: Option<UnityFog>The fog; None when the RenderSettings state no m_Fog.
Trait Implementations§
Source§impl Clone for SceneRenderSettings
impl Clone for SceneRenderSettings
Source§impl Debug for SceneRenderSettings
impl Debug for SceneRenderSettings
Source§impl PartialEq for SceneRenderSettings
impl PartialEq for SceneRenderSettings
impl StructuralPartialEq for SceneRenderSettings
Auto Trait Implementations§
impl Freeze for SceneRenderSettings
impl RefUnwindSafe for SceneRenderSettings
impl Send for SceneRenderSettings
impl Sync for SceneRenderSettings
impl Unpin for SceneRenderSettings
impl UnsafeUnpin for SceneRenderSettings
impl UnwindSafe for SceneRenderSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more