VertexElementSmoothingGroup
Contents
[
Hide
]VertexElementSmoothingGroup class
A smoothing group is a group of polygons in a polygon mesh which should appear to form a smooth surface. Some early 3d modeling software like 3D studio max for DOS used smoothing group to void storing normal vector for each mesh vertex.
Methods
constructor
| Name | Description |
|---|---|
| constructor() | Initializes a new instance of the VertexElementSmoothingGroup class. |
Result:
getData
| Name | Description |
|---|---|
| getData() | Gets the vertex data |
Result:
getVertexElementType
| Name | Description |
|---|---|
| getVertexElementType() | Gets the type of the VertexElementThe value of the property is VertexElementType integer constant. |
Result:
getName
| Name | Description |
|---|---|
| getName() | Gets or sets the name. The name. |
Result:
setName
| Name | Description |
|---|---|
| setName(value) | Gets or sets the name. The name. |
Result:
getMappingMode
| Name | Description |
|---|---|
| getMappingMode() | Gets or sets how the element is mapped. The value of the property is MappingMode integer constant. |
Result:
setMappingMode
| Name | Description |
|---|---|
| setMappingMode(value) | Gets or sets how the element is mapped. The value of the property is MappingMode integer constant. |
Result:
getReferenceMode
| Name | Description |
|---|---|
| getReferenceMode() | Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant. |
Result:
setReferenceMode
| Name | Description |
|---|---|
| setReferenceMode(value) | Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant. |
Result:
getIndices
| Name | Description |
|---|---|
| getIndices() | Gets the indices data The index array. |
Result:
copyTo
| Name | Description |
|---|---|
| copyTo(target) | Copies data to specified element |
Parameters:
| Name | Type | Description |
|---|---|---|
| target | VertexElementIntsTemplate | Target. |
Result:
setData
| Name | Description |
|---|---|
| setData(data) | Load data |
Parameters:
| Name | Type | Description |
|---|---|---|
| dat | Number[] | null |
Result:
clear
| Name | Description |
|---|---|
| clear() | Removes all elements from the direct and the index arrays. |
Result:
setIndices
| Name | Description |
|---|---|
| setIndices(data) | Load indices |
Parameters:
| Name | Type | Description |
|---|---|---|
| dat | Number[] | null |
Result:
toString
| Name | Description |
|---|---|
| toString() | String representation of vertex element. |
Result: String