Geometry.CreateElement
Contents
[
Hide
]CreateElement(VertexElementType)
Creates a vertex element with specified type and add it to the geometry.
public VertexElement CreateElement(VertexElementType type)
Parameter | Type | Description |
---|---|---|
type | VertexElementType | Vertex element type |
Return Value
Created element.
Remarks
If type is UV, a VertexElementUV
with texture mapping type to Diffuse will be created.
See Also
- class VertexElement
- enum VertexElementType
- class Geometry
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D
CreateElement(VertexElementType, MappingMode, ReferenceMode)
Creates a vertex element with specified type and add it to the geometry.
public VertexElement CreateElement(VertexElementType type, MappingMode mappingMode,
ReferenceMode referenceMode)
Parameter | Type | Description |
---|---|---|
type | VertexElementType | Vertex element type |
mappingMode | MappingMode | Default mapping mode |
referenceMode | ReferenceMode | Default reference mode |
Return Value
Created element.
Remarks
If type is UV, a VertexElementUV
with texture mapping type to Diffuse will be created.
See Also
- class VertexElement
- enum VertexElementType
- enum MappingMode
- enum ReferenceMode
- class Geometry
- namespace Aspose.ThreeD.Entities
- assembly Aspose.3D