## Node.Entity property

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

```csharp
public Entity Entity { get; set; }
```

### Property Value

The node entity.

## Examples

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

```csharp
Scene scene = new Scene();
Node node = scene.RootNode.CreateChildNode("new node");
node.Entity = new Box();
scene.Save("output.fbx");
```

### See Also

* class [Entity](../../entity/)
* class [Node](../)
* namespace [Aspose.ThreeD](../../node/)
* assembly [Aspose.3D](../../../)


