class com.babylonhx.mesh.Geometry implements IGetSetVerticesData

Available on all platforms

... @author Krtolica Vujadin

Class Fields

static function ExtractFromMesh(mesh:Mesh, id:String):Geometry

static function RandomId(?size:Int):String

Instance Fields

function new(id:String, scene:Scene, ?vertexData:VertexData, ?updatable:Bool, ?mesh:Mesh):Void

function applyToMesh(mesh:Mesh):Void

function copy(id:String):Geometry

function dispose():Void

function getEngine():Engine

function getIndices(?copyWhenShared:Bool):Array<Int>

function getScene():Scene

function getTotalIndices():Int

function getVerticesData(kind:String, ?copyWhenShared:Bool):Array<Float>

function isDisposed():Bool

function isReady():Bool

function load(scene:Scene, ?onLoaded:Void ->Void):Void

function releaseForMesh(mesh:Mesh, ?shouldDispose:Bool):Void

function setAllVerticesData(vertexData:VertexData, ?updatable:Bool):Void

function setIndices(indices:Array<Int>, ?totalVertices:Int):Void

function setVerticesData(kind:String, data:Array<Float>, ?updatable:Bool, ?stride:Int):Void

function updateVerticesData(kind:String, data:Array<Float>, ?updateExtends:Bool, ?makeItUnique:Bool):Void