FormIt Plugin API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
WSM.Gltf API

Description

Functions

json WSM.Gltf.APIWriteGltfFileReadOnly (nHistoryID, sFilePath, bWriteHiddenObject, trans)
 In: nHistoryID, sFilePath, bWriteHiddenObject, trans Out:JSON_UNDEFINED.
 
json WSM.Gltf.APILoadGltfFile (nHistoryID, sFilePath, trans, layerID, nGNO, aNodeInfoVec, bComputeEdges)
 In: nHistoryID, sFilePath, trans, layerID, nGNO, aNodeInfoVec, bComputeEdges Out:JSON_UNDEFINED
 

Function Documentation

◆ APILoadGltfFile()

json WSM.Gltf.APILoadGltfFile ( nHistoryID  ,
sFilePath  ,
trans  ,
layerID  ,
nGNO  ,
aNodeInfoVec  ,
bComputeEdges   
)

In: nHistoryID, sFilePath, trans, layerID, nGNO, aNodeInfoVec, bComputeEdges Out:JSON_UNDEFINED

Parameters
[in]nHistoryIDint
[in]sFilePathString
[in]trans(OPTIONAL) WSM.Transf3d
[in]layerID(OPTIONAL, default = WSM.INVALID_ID) int
[in]nGNO(OPTIONAL, default = WSM.nNoGeneratedNormals) WSM.nGeneratedNormalsOptions
[in]aNodeInfoVec(OPTIONAL) Array of WSM.GltfNodeInfo
[in]bComputeEdges(OPTIONAL, default = true) bool
Returns
JSON_UNDEFINED, i.e. {}

◆ APIWriteGltfFileReadOnly()

json WSM.Gltf.APIWriteGltfFileReadOnly ( nHistoryID  ,
sFilePath  ,
bWriteHiddenObject  ,
trans   
)

In: nHistoryID, sFilePath, bWriteHiddenObject, trans Out:JSON_UNDEFINED.

Parameters
[in]nHistoryIDint
[in]sFilePathString
[in]bWriteHiddenObject(OPTIONAL, default = false) bool
[in]trans(OPTIONAL) WSM.Transf3d
Returns
JSON_UNDEFINED, i.e. {}