Constructor

new(res:Resource, header:Data)

Variables

read onlyheader:Data

Methods

dispose():Void

findLODs(modelName:String, lod0:Model):Array<Model>

@:noDebuggetBuffers(geom:Geometry, format:BufferFormat, ?defaults:Array<Vector4>, ?material:Int):GeometryBuffer

getData():Bytes

getDefaultFormat(stride:Int):{format:BufferFormat, defs:Array<Null<Vector>>}

getLODInfos(model:Model):{modelName:String, lodLevel:Int}

getModelProperty<T>(objName:String, p:Property<T>, ?def:T):Null<T>

@:value({ modelIndex : -1 })load(format:BufferFormat, ?defaults:Array<Vector4>, modelIndex:Int = -1):{vertex:FloatBuffer, index:IndexBuffer}

loadAnimation(?name:String):Animation

@:value({ optimize : true })@:allow(h3d.anim.Skin)loadSkin(geom:Geometry, skin:Skin, optimize:Bool = true):Void

makeObject(?loadTexture:String ‑> Texture):Object

patchLodsMaterials(lod0:Model, lods:Array<Model>):Void