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

Description

Functions

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

Function Documentation

◆ APIGetEdgesRenderDataReadOnly()

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) }, };

◆ APIGetFacesRenderDataReadOnly()

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) }, };

◆ APIGetObjectFacesRenderDataReadOnly()

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) }, };