base classes — bpy_struct, ID
Scene data block, consisting in objects and defining time and render related settings
Active scene layer index
Type: | int in [-inf, inf], default 0, (readonly) |
---|
Distance model for distance attenuation calculation
Type: | enum in [‘NONE’, ‘INVERSE’, ‘INVERSE_CLAMPED’, ‘LINEAR’, ‘LINEAR_CLAMPED’, ‘EXPONENT’, ‘EXPONENT_CLAMPED’], default ‘NONE’ |
---|
Pitch factor for Doppler effect calculation
Type: | float in [0, inf], default 0.0 |
---|
Speed of sound for Doppler effect calculation
Type: | float in [0.01, inf], default 0.0 |
---|
Audio volume
Type: | float in [0, 1], default 0.0 |
---|
3D cursor location
Type: | float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) |
---|
Settings of device saved image would be displayed on
Type: | ColorManagedDisplaySettings, (readonly) |
---|
Current Frame, to update animation data from python frame_set() instead
Type: | int in [-300000, 300000], default 0 |
---|
Current frame with subframe and time remapping applied
Type: | float in [-300000, 300000], default 0.0, (readonly) |
---|
Final frame of the playback/rendering range
Type: | int in [0, 300000], default 0 |
---|
Alternative end frame for UI playback
Type: | int in [-inf, inf], default 0 |
---|
Alternative start frame for UI playback
Type: | int in [-inf, inf], default 0 |
---|
First frame of the playback/rendering range
Type: | int in [0, 300000], default 0 |
---|
Number of frames to skip forward while rendering/playing back each frame
Type: | int in [0, 300000], default 0 |
---|
Type: | float in [-inf, inf], default 0.0, (readonly) |
---|
Type: | SceneGameData, (readonly, never None) |
---|
Constant acceleration in a given direction
Type: | float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0) |
---|
Grease Pencil datablock
Type: | GreasePencil |
---|
Whether there is any action referenced by NLA being edited (strictly read-only)
Type: | boolean, default False, (readonly) |
---|
Absolute Keying Sets for this Scene
Type: | KeyingSets bpy_prop_collection of KeyingSet, (readonly) |
---|
All Keying Sets available for use (Builtins and Absolute Keying Sets for this Scene)
Type: | KeyingSetsAll bpy_prop_collection of KeyingSet, (readonly) |
---|
Visible layers - Shift-Click/Drag to select multiple layers
Type: | boolean array of 20 items, default (False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False) |
---|
Don’t allow frame to be selected with mouse outside of frame range
Type: | boolean, default False |
---|
Type: | SceneBases bpy_prop_collection of ObjectBase, (readonly) |
---|
Type: | SceneObjects bpy_prop_collection of Object, (readonly) |
---|
Type: | bpy_prop_collection of TransformOrientation, (readonly) |
---|
Type: | RenderSettings, (readonly, never None) |
---|
Type: | RigidBodyWorld, (readonly) |
---|
Type: | SequenceEditor, (readonly) |
---|
Settings of color space sequencer is working in
Type: | ColorManagedSequencerColorspaceSettings, (readonly) |
---|
Consider keyframes for active Object and/or its selected bones only (in timeline and when jumping between keyframes)
Type: | boolean, default False |
---|
How to sync playback
Type: | enum in [‘NONE’, ‘FRAME_DROP’, ‘AUDIO_SYNC’], default ‘NONE’ |
---|
Markers used in all timelines for the current scene
Type: | TimelineMarkers bpy_prop_collection of TimelineMarker, (readonly) |
---|
Type: | ToolSettings, (readonly, never None) |
---|
Unit editing settings
Type: | UnitSettings, (readonly, never None) |
---|
Play back of audio from Sequence Editor will be muted
Type: | boolean, default False |
---|
Play audio from Sequence Editor while scrubbing
Type: | boolean, default False |
---|
Play back and sync with audio clock, dropping frames if frame display is too slow
Type: | boolean, default False |
---|
Play back dropping frames if frame display is too slow
Type: | boolean, default False |
---|
Use global gravity for all dynamics
Type: | boolean, default False |
---|
Enable the compositing node tree
Type: | boolean, default False |
---|
Use an alternative start/end frame range for animation playback and OpenGL renders instead of the Render properties start/end frame range
Type: | boolean, default False |
---|
User defined note for the render stamping
Type: | string, default “”, (never None) |
---|
Color management settings applied on image before saving
Type: | ColorManagedViewSettings, (readonly) |
---|
Ensure sequence editor is valid in this scene
Returns: | New sequence editor data or NULL |
---|---|
Return type: | SequenceEditor |
Clear sequence editor in this scene
statistics
Returns: | Statistics |
---|---|
Return type: | string, (never None) |
Set scene frame updating all objects immediately
Parameters: |
|
---|
Update data tagged to be updated from previous access to data or operators
Get uv aspect for current object
Parameters: | object (Object, (never None)) – Object |
---|---|
Returns: | aspect |
Return type: | float array of 2 items in [0, inf] |
Cast a ray onto in object space
Return (result, object, matrix, location, normal): | |
---|---|
result, , boolean object, Ray cast object, Object matrix, Matrix, float array of 16 items in [-inf, inf] location, The hit location of this ray cast, float array of 3 items in [-inf, inf] normal, The face normal at the ray cast hit location, float array of 3 items in [-inf, inf] |
Inherited Properties
Inherited Functions
References