class com.babylonhx.mesh.SubMesh

Available on all platforms

... @author Krtolica Vujadin

Class Fields

static function CreateFromIndices(materialIndex:Int, startIndex:Int, indexCount:Int, mesh:AbstractMesh, ?renderingMesh:Mesh):SubMesh

Instance Fields

var _id:Int

function new(materialIndex:Int, verticesStart:Int, verticesCount:Int, indexStart:Int, indexCount:Int, mesh:AbstractMesh, ?renderingMesh:Mesh, ?createBoundingBox:Bool):Void

function _checkCollision(collider:Collider):Bool

function canIntersects(ray:Ray):Bool

function clone(newMesh:AbstractMesh, ?newRenderingMesh:Mesh):SubMesh

function dispose():Void

function getLinesIndexBuffer(indices:Array<Int>, engine:Engine):WebGLBuffer

function intersects(ray:Ray, positions:Array<Vector3>, indices:Array<Int>, ?fastCheck:Bool):IntersectionInfo

function isInFrustum(frustumPlanes:Array<Plane>):Bool

function render(enableAlphaMode:Bool):Void