| Package | starling.utils |
| Class | public class MeshSubset |
| Inheritance | MeshSubset Object |
| Property | Defined By | ||
|---|---|---|---|
| indexID : int The ID of the first index. | MeshSubset | ||
| numIndices : int The total number of indices. | MeshSubset | ||
| numVertices : int The total number of vertices. | MeshSubset | ||
| vertexID : int The ID of the first vertex. | MeshSubset | ||
| Method | Defined By | ||
|---|---|---|---|
MeshSubset(vertexID:int = 0, numVertices:int = -1, indexID:int = 0, numIndices:int = -1) Creates a new MeshSubset. | MeshSubset | ||
setTo(vertexID:int = 0, numVertices:int = -1, indexID:int = 0, numIndices:int = -1):void Changes all properties at once. | MeshSubset | ||
| indexID | property |
public var indexID:intThe ID of the first index.
| numIndices | property |
public var numIndices:intThe total number of indices.
| numVertices | property |
public var numVertices:intThe total number of vertices.
| vertexID | property |
public var vertexID:intThe ID of the first vertex.
| MeshSubset | () | Constructor |
public function MeshSubset(vertexID:int = 0, numVertices:int = -1, indexID:int = 0, numIndices:int = -1)Creates a new MeshSubset.
ParametersvertexID:int (default = 0) | |
numVertices:int (default = -1) | |
indexID:int (default = 0) | |
numIndices:int (default = -1) |
| setTo | () | method |
public function setTo(vertexID:int = 0, numVertices:int = -1, indexID:int = 0, numIndices:int = -1):voidChanges all properties at once. Call without any arguments to reference a complete mesh.
Parameters
vertexID:int (default = 0) | |
numVertices:int (default = -1) | |
indexID:int (default = 0) | |
numIndices:int (default = -1) |