Skeleton
Overview
Skeleton is a class in Aspose.3D FOSS for .NET.
Inherits from: Entity, INamedObject.
The Skeleton is mainly used by CAD software to help designer to manipulate the transformation of skeletal structure, it’s usually useless outside the CAD softwares. To make the skeleton hierarchy acts like one object in CAD software, it’s necessary to mark the top Skeleton node as the root one by setting Type to Root, and all children set to LimbNode
This class provides 10 methods for working with Skeleton objects in .NET programs.
Available methods include: A3DObject, Entity, FindProperty, GetBoundingBox, GetEntityRendererKey, GetProperty, RemoveProperty, SceneObject, SetProperty, Skeleton.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Excluded, Name, ParentNode, ParentNodes, Properties, Scene, and 2 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Size | double | Read/Write | Gets or sets the size. |
Type | SkeletonType | Read/Write | Gets or sets the type. |
Excluded | bool | Read/Write | Gets or sets the excluded. |
ParentNodes | List<Node> | Read | Gets the parent nodes. |
ParentNode | Node | Read/Write | Gets or sets the parent node. |
Scene | Scene | Read | Gets the scene. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
Skeleton() | |
Skeleton(name: string) | Entity name |
Skeleton(name: string, type: SkeletonType) | Skeleton type |
Entity(name: string) | |
GetBoundingBox() | Gets the bounding box of current entity in its object space coordinate system. |
GetEntityRendererKey() | Gets the key of the entity renderer registered in the renderer |
SceneObject(name: string) | |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |