Scene

- class Scene
A mutable scene node value.
SceneConst for details.
Methods
Constructor(s)
add_childEmpty means with no geometry, no attribute and an identity matrix
remove_attribute(attribute)Removes an attribute.
remove_child(name)Removes the child scene node with the given name.
Remove the node geometry.
set_attribute(attribute, value)Set an attribute.
set_geometry(geometry)Set the node geometry.
set_matrix(arg1)Set the node transform.
set_name(arg1)Set the node name.
set_shown(shown)Set the shown state of this node.
write_children(children_only, shapes_only)Get the scene traversal.
- __init__()
Constructor(s)
Value (arg1: bool)
Create a boolean value.
Value (arg1: int)
Create an integer value.
Value (arg1: float)
Create a float value.
Value (arg1: double)
Create a double value.
Value (string: unicode)
Create a string value.
Value (string: wchar_t)
Create a string value.
Value (string: unicode)
Create a string value.
Value (string: unicode)
Create a wide string value.
Value (arg1: Imath.V2f)
Create a Imath::V2f value.
Value (arg1: Imath.V3f)
Create a Imath::V3f value.
Value (arg1: Imath.V4f)
Create a Imath::V4f value.
Value (arg1: Imath.V2d)
Create a Imath::V2d value.
Value (arg1: Imath.V3d)
Create a Imath::V3d value.
Value (arg1: Imath.V4d)
Create a Imath::V4d value.
Value (arg1: Imath.V2i)
Create a Imath::V2i value.
Value (arg1: Imath.V3i)
Create a Imath::V3i value.
Value (arg1: Imath.V4i)
Create a Imath::V4i value.
Value (arg1: Imath.Color4f)
Create a Imath::Color4f value.
Value (arg1: Imath.M44f)
Create a Imath::M44f value.
Value (arg1: Imath.M44d)
Create a Imath::M44d value.
Value (arg1: Imath.Box3f)
Create a Imath::Box3f value.
Value (arg1: Imath.Quatf)
Create a Imath::Quatf value.
Value (arg1: Imath.Quatd)
Create a Imath::Quatd value.
Value (user_data: UserData)
Create a user data value.
- prune_empty_nodes() None
Empty means with no geometry, no attribute and an identity matrix
- remove_attribute(attribute: StringView) None
Removes an attribute.
- remove_child(name: unicode) None
Removes the child scene node with the given name.
- remove_geometry() None
Remove the node geometry.
- set_attribute(attribute: StringView, value: Value) None
Set an attribute.
If the attribute already exists, it is overriden.
- set_matrix(arg1: Imath.M44d) None
Set the node transform.
- set_name(arg1: unicode) None
Set the node name.
- set_shown(shown: bool) None
Set the shown state of this node.
- write_children(children_only: bool, shapes_only: bool) Traversal
Get the scene traversal.
- Return type
Traversal