FormIt Plugin API  v23.0.0 (2023.0.0)
WSM.RenderHelper API

Description

Functions

json WSM.RenderHelper.APIGetObjectFacesRenderDataReadOnly (historyID, objectID)
 APIGetObjectFacesRenderDataReadOnly() function. More...
 
json WSM.RenderHelper.APIGetFacesRenderDataReadOnly (historyID, faceIDs)
 APIGetFacesRenderDataReadOnly() function. More...
 
json WSM.RenderHelper.APIGetEdgesRenderDataReadOnly (historyID, edgeIDs, includeSmooth)
 APIGetEdgesRenderDataReadOnly() function. More...
 

Function Documentation

json WSM.RenderHelper.APIGetEdgesRenderDataReadOnly ( historyID  ,
edgeIDs  ,
includeSmooth   
)

APIGetEdgesRenderDataReadOnly() function.

Parameters
[in]historyIDint
[in]edgeIDsArray of int
[in]includeSmooth(OPTIONAL, default = false) bool
Returns
{ { "vertices" , to_json(vertices) }, { "indices" , to_json(indices) }, };
json WSM.RenderHelper.APIGetFacesRenderDataReadOnly ( historyID  ,
faceIDs   
)

APIGetFacesRenderDataReadOnly() function.

Parameters
[in]historyIDint
[in]faceIDsArray of int
Returns
{ { "vertices" , to_json(vertices) }, { "normals" , to_json(normals) }, { "texCoords" , to_json(texCoords) }, { "indices" , to_json(indices) }, };
json WSM.RenderHelper.APIGetObjectFacesRenderDataReadOnly ( historyID  ,
objectID   
)

APIGetObjectFacesRenderDataReadOnly() function.

Parameters
[in]historyIDint
[in]objectIDint
Returns
{ { "vertices" , to_json(vertices) }, { "normals" , to_json(normals) }, { "texCoords" , to_json(texCoords) }, { "indices" , to_json(indices) }, };