| Package | alternativa.engine3d.objects |
| Class | public class Surface |
| Inheritance | Surface Object |
Mesh object or instance of kindred class like Skin.
Surface is a entity associated with one material, so different surfaces within one mesh can have different materials.
| Property | Defined By | ||
|---|---|---|---|
| indexBegin : int = 0
Index of the vertex with which surface starts within index buffer of object's geometry. | Surface | ||
| material : Material
Material. | Surface | ||
| numTriangles : int = 0
Number of triangles which form this surface. | Surface | ||
| indexBegin | property |
public var indexBegin:int = 0Index of the vertex with which surface starts within index buffer of object's geometry.
See also
| material | property |
public var material:MaterialMaterial.
| numTriangles | property |
public var numTriangles:int = 0Number of triangles which form this surface.
| clone | () | method |
public function clone():SurfaceReturns a copy of this surface.
ReturnsSurface — A copy of this surface.
|