staticinlineflushPrec(d:BytesOutput, p:Precision, count:Int):Void
staticinlineprecisionSize(p:Precision):Int
staticremapPrecision(inputName:String):String
staticinlinewriteFloat(d:BytesOutput, f:Float):Void
staticinlinewritePrec(d:BytesOutput, v:Float, p:Precision):Void
new(fileName:String)
absoluteTexturePath:Bool
@:value(false)generateNormals:Bool = false
@:value(false)generateTangents:Bool = false
lowPrecConfig:Map<String, Precision>
@:value(true)optimizeSkin:Bool = true
toHMD(filePath:String, includeGeometry:Bool):Data
@:value(true)allowVertexColor:Bool = true
fileName:String
@:value(false)fourBonesByVertex:Bool = false
Use 4 bones of influence per vertex instead of 3
@:value(false)highPrecision:Bool = false
Keep high precision values. Might increase animation data size and compressed size.
keepJoints:Map<String, Bool>
Allows to prevent some terminal unskinned joints to be removed, for instance if we want to track their position
@:value(34)maxBonesPerSkin:Int = 34
If there are too many bones, the model will be split in separate render passes.
@:value(true)normalizeScaleOrient:Bool = true
Convert centimeters to meters and axis to Z-up (Maya FBX export)
skipObjects:Map<String, Bool>
Allows to skip some objects from being processed as if they were not part of the FBX
unskinnedJointsAsObjects:Bool
Consider unskinned joints to be simple objects
@:value(0.)version:Float = 0.
The FBX version that was decoded
getAnimationNames():Array<String>
Returns an array of names with all animations present in FBX file.
getChild(node:FbxNode, nodeName:String, ?opt:Bool):Null<FbxNode>
getChilds(node:FbxNode, ?nodeName:String):Array<Null<FbxNode>>
@:value({ name : "" })getGeometry(name:String = ""):Geometry
getParent(node:FbxNode, nodeName:String, ?opt:Bool):Null<FbxNode>
getParents(node:FbxNode, ?nodeName:String):Array<Null<FbxNode>>
getRoot():FbxNode
getSpecChild(node:FbxNode, name:String):Null<FbxNode>
leftHandConvert():Void
load(root:FbxNode):Void
loadAnimation(?animName:String, ?root:Null<FbxNode>, ?lib:BaseLibrary):Animation
loadFile(data:Bytes):Void
mergeModels(modelNames:Array<String>):Void