entity property

entity property

Gets or sets the first entity attached to this node, if sets, will clear other entities.

Example

The following code shows how to create a new child node under root node

from aspose.threed import Scene
from aspose.threed.entities import Box

scene = Scene()
node = scene.root_node.create_child_node("new node")
node.entity = Box()
scene.save("output.fbx")

Definition:

@property
def entity(self):
    ...
@entity.setter
def entity(self, value):
    ...

See Also