Mesh Class |
Namespace: Aspose.ThreeD.Entities
The Mesh type exposes the following members.
Name | Description | |
---|---|---|
![]() | Mesh |
Initializes a new instance of the Mesh class.
|
![]() | Mesh(Bitmap) |
Construct a mesh using specified height map,
if the height map's pixel format contains multiple components, the first(usually the red) component will be used as the height value(z)
The control point's x and y components are normalized pixel coordinate.
|
![]() | Mesh(String) |
Initializes a new instance of the Mesh class.
|
![]() | Mesh(Bitmap, Matrix4) |
Construct a mesh using specified height map,
if the height map's pixel format contains multiple components, the first(usually the red) component will be used as the height value(z)
The control point's x and y components are normalized pixel coordinate.
|
![]() | Mesh(Bitmap, Boolean, Matrix4) |
Construct a mesh using specified height map,
if the height map's pixel format contains multiple components, the first(usually the red) component will be used as the height value(z)
The control point's x and y components are normalized pixel coordinate.
|
Name | Description | |
---|---|---|
![]() | CastShadows |
Gets or sets wheather this geometry can cast shadow
(Inherited from Geometry.) |
![]() | ControlPoints |
Gets all control points
(Inherited from Geometry.) |
![]() | Deformers |
Gets all deformers assocated with this geometry.
(Inherited from Geometry.) |
![]() | Edges |
Gets edges of the Mesh. Edge is optional in mesh, so it can be empty.
|
![]() | Excluded |
Gets or sets wheather to exclude this entity during exporting.
(Inherited from Entity.) |
![]() | Name |
Gets or sets the name.
(Inherited from A3DObject.) |
![]() | ParentNode |
Gets or sets the first parent node, if set the first parent node, this entity will be detached from other parent nodes.
(Inherited from Entity.) |
![]() | ParentNodes |
Gets all parent nodes, an entity can be attached to multiple parent nodes for geometry instancing
(Inherited from Entity.) |
![]() | PolygonCount |
Gets the count of polygons
|
![]() | Polygons |
Gets the polygons definition of the mesh
|
![]() | Properties |
Gets the collection of all properties.
(Inherited from A3DObject.) |
![]() | ReceiveShadows |
Gets or sets wheather this geometry can receive shadow.
(Inherited from Geometry.) |
![]() | Scene |
Gets the scene that this object belongs to
(Inherited from SceneObject.) |
![]() | VertexElements |
Gets all vertex elements
(Inherited from Geometry.) |
![]() | Visible |
Gets or sets if the geometry is visible
(Inherited from Geometry.) |
Name | Description | |
---|---|---|
![]() | AddElement |
Adds an existing vertex element to current geometry
(Inherited from Geometry.) |
![]() | CreateElement(VertexElementType) |
Creates a vertex element with specified type and add it to the geometry.
(Inherited from Geometry.) |
![]() | CreateElement(VertexElementType, MappingMode, ReferenceMode) |
Creates a vertex element with specified type and add it to the geometry.
(Inherited from Geometry.) |
![]() | CreateElementUV(TextureMapping) |
Creates a VertexElementUV with given texture mapping type.
(Inherited from Geometry.) |
![]() | CreateElementUV(TextureMapping, MappingMode, ReferenceMode) |
Creates a VertexElementUV with given texture mapping type.
(Inherited from Geometry.) |
![]() ![]() | CreatePolygon(Int32) |
Creates a new polygon with all vertices defined in indices.
To create polygon vertex by vertex, please use PolygonBuilder.
|
![]() | CreatePolygon(Int32, Int32, Int32) |
Create a polygon with 3 vertices(triangle)
|
![]() | CreatePolygon(Int32, Int32, Int32, Int32) |
Create a polygon with 4 vertices(quad)
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindProperty |
Finds the property.
It can be a dynamic property (Created by CreateDynamicProperty/SetProperty)
or native property(Identified by its name)
(Inherited from A3DObject.) |
![]() | GetBoundingBox |
Gets the bounding box of current entity in its object space coordinate system.
(Inherited from Entity.) |
![]() | GetDeformersT |
Gets all deformers with specified deformer types
(Inherited from Geometry.) |
![]() | GetElement |
Gets a vertex element with specified type
(Inherited from Geometry.) |
![]() | GetEntityRendererKey |
Gets the key of the entity renderer registered in the renderer
(Inherited from Entity.) |
![]() | GetEnumerator |
Gets the enumerator for each inner polygons.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetPolygonSize |
Gets the vertex count of the specified polygon.
|
![]() | GetProperty |
Get the value of specified property
(Inherited from A3DObject.) |
![]() | GetType | (Inherited from Object.) |
![]() | GetVertexElementOfUV |
Gets a VertexElementUV instance with given texture mapping type
(Inherited from Geometry.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | RemoveProperty(String) |
Remove the specified property identified by name
(Inherited from A3DObject.) |
![]() | RemoveProperty(Property) |
Removes a dynamic property.
(Inherited from A3DObject.) |
![]() | SetProperty |
Sets the value of specified property
(Inherited from A3DObject.) |
![]() | ToMesh |
Gets the Mesh instance from current entity.
|
![]() | ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | name |
The name of the current object.
(Inherited from A3DObject.) |
![]() | properties |
The properties of the current object.
(Inherited from A3DObject.) |
int[] indices = new int[] {0, 1, 2}; mesh.CreatePolygon(indices);
foreach(int[] polygon in mesh) { //deal with polygon }