Scene

Struct Scene 

Source
#[repr(C, packed(4))]
pub struct Scene {
Show 54 fields pub id: ID, pub adt: Pointer<AnimData>, pub camera: Pointer<Object>, pub world: Pointer<World>, pub set: Pointer<Scene>, pub base: ListBase, pub basact: Pointer<Base>, pub _pad1: Pointer<Void>, pub cursor: View3DCursor, pub lay: i32, pub layact: i32, pub _pad2: [i8; 4], pub flag: i16, pub use_nodes: i8, pub _pad3: [i8; 1], pub nodetree: Pointer<bNodeTree>, pub ed: Pointer<Editing>, pub toolsettings: Pointer<ToolSettings>, pub _pad4: Pointer<Void>, pub safe_areas: DisplaySafeAreas, pub r: RenderData, pub audio: AudioData, pub markers: ListBase, pub transform_spaces: ListBase, pub orientation_slots: [TransformOrientationSlot; 4], pub sound_scene: Pointer<Void>, pub playback_handle: Pointer<Void>, pub sound_scrub_handle: Pointer<Void>, pub speaker_handles: Pointer<Void>, pub fps_info: Pointer<Void>, pub depsgraph_hash: Pointer<Nothing>, pub _pad7: [i8; 4], pub active_keyingset: i32, pub keyingsets: ListBase, pub unit: UnitSettings, pub gpd: Pointer<bGPdata>, pub clip: Pointer<MovieClip>, pub physics_settings: PhysicsSettings, pub _pad8: Pointer<Void>, pub customdata_mask: CustomData_MeshMasks, pub customdata_mask_modal: CustomData_MeshMasks, pub view_settings: ColorManagedViewSettings, pub display_settings: ColorManagedDisplaySettings, pub sequencer_colorspace_settings: ColorManagedColorspaceSettings, pub rigidbody_world: Pointer<RigidBodyWorld>, pub preview: Pointer<PreviewImage>, pub view_layers: ListBase, pub master_collection: Pointer<Collection>, pub collection: Pointer<SceneCollection>, pub layer_properties: Pointer<IDProperty>, pub _pad9: Pointer<Void>, pub display: SceneDisplay, pub eevee: SceneEEVEE, pub grease_pencil_settings: SceneGpencil,
}

Fields§

§id: ID§adt: Pointer<AnimData>§camera: Pointer<Object>§world: Pointer<World>§set: Pointer<Scene>§base: ListBase§basact: Pointer<Base>§_pad1: Pointer<Void>§cursor: View3DCursor§lay: i32§layact: i32§_pad2: [i8; 4]§flag: i16§use_nodes: i8§_pad3: [i8; 1]§nodetree: Pointer<bNodeTree>§ed: Pointer<Editing>§toolsettings: Pointer<ToolSettings>§_pad4: Pointer<Void>§safe_areas: DisplaySafeAreas§r: RenderData§audio: AudioData§markers: ListBase§transform_spaces: ListBase§orientation_slots: [TransformOrientationSlot; 4]§sound_scene: Pointer<Void>§playback_handle: Pointer<Void>§sound_scrub_handle: Pointer<Void>§speaker_handles: Pointer<Void>§fps_info: Pointer<Void>§depsgraph_hash: Pointer<Nothing>§_pad7: [i8; 4]§active_keyingset: i32§keyingsets: ListBase§unit: UnitSettings§gpd: Pointer<bGPdata>§clip: Pointer<MovieClip>§physics_settings: PhysicsSettings§_pad8: Pointer<Void>§customdata_mask: CustomData_MeshMasks§customdata_mask_modal: CustomData_MeshMasks§view_settings: ColorManagedViewSettings§display_settings: ColorManagedDisplaySettings§sequencer_colorspace_settings: ColorManagedColorspaceSettings§rigidbody_world: Pointer<RigidBodyWorld>§preview: Pointer<PreviewImage>§view_layers: ListBase§master_collection: Pointer<Collection>§collection: Pointer<SceneCollection>§layer_properties: Pointer<IDProperty>§_pad9: Pointer<Void>§display: SceneDisplay§eevee: SceneEEVEE§grease_pencil_settings: SceneGpencil

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Scene

§

impl RefUnwindSafe for Scene

§

impl Send for Scene

§

impl Sync for Scene

§

impl Unpin for Scene

§

impl UnwindSafe for Scene

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.