class documentation
class SceneBackground(BaseValidatedDataClass): (source)
Constructor: SceneBackground(color, image, cube, intensity)
Represents the background of the scene.
Parameters | |
color | the background color of the scene |
image | the path to the background image. Defaults to None. This takes precedence over color if provided |
cube | the paths to the six faces of the background. The order of the faces is: +X, -X, +Y, -Y, +Z, -Z. Defaults to None. This takes precedence over the image and color if provided. This can be used to build a skybox |
intensity | the intensity of the background. Defaults to 1.0. This only applies for image and cube backgrounds |
Method | __init__ |
Undocumented |
Method | as |
Undocumented |
Method | color |
Undocumented |
Method | cube |
Undocumented |
Method | image |
Undocumented |
Method | intensity |
Undocumented |
Property | color |
Undocumented |
Property | cube |
Undocumented |
Property | image |
Undocumented |
Property | intensity |
Undocumented |
Static Method | _from |
Undocumented |
Instance Variable | _color |
Undocumented |
Instance Variable | _cube |
Undocumented |
Instance Variable | _image |
Undocumented |
Instance Variable | _intensity |
Undocumented |
Inherited from BaseValidatedDataClass
:
Method | __eq__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setattr__ |
Undocumented |