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

Description

Functions

json FormIt.Graphics.GetObjectTypes (historyId, objectIds)
 TODO: remove all these wrappers as soon as WSR updates w/ new methods.
 
json FormIt.Graphics.GetObjectRenderableEdges (historyId, objectId, includeSmooth)
 Get vertices for multiple edges at once, as a flat list of doubles
 
json FormIt.Graphics.GetRenderableEdges (historyId, edges, includeSmooth)
 Get vertices for multiple edges at once, as a flat list of doubles
 
json FormIt.Graphics.GetRenderableFaces (historyId, backside, calcTexCoords, faces)
 Get vertices, normals, and uvs for multiple faces at once, as unstructured vectors of doubles
 

Function Documentation

◆ GetObjectRenderableEdges()

json FormIt.Graphics.GetObjectRenderableEdges ( historyId  ,
objectId  ,
includeSmooth   
)

Get vertices for multiple edges at once, as a flat list of doubles

Parameters
[in]historyIdint
[in]objectIdint
[in]includeSmoothbool
Returns

◆ GetObjectTypes()

json FormIt.Graphics.GetObjectTypes ( historyId  ,
objectIds   
)

TODO: remove all these wrappers as soon as WSR updates w/ new methods.

Get object types for multiple object ids at once.

Parameters
[in]historyIdint
[in]objectIdsArray of int
Returns

◆ GetRenderableEdges()

json FormIt.Graphics.GetRenderableEdges ( historyId  ,
edges  ,
includeSmooth   
)

Get vertices for multiple edges at once, as a flat list of doubles

Parameters
[in]historyIdint
[in]edgesArray of int
[in]includeSmoothbool
Returns

◆ GetRenderableFaces()

json FormIt.Graphics.GetRenderableFaces ( historyId  ,
backside  ,
calcTexCoords  ,
faces   
)

Get vertices, normals, and uvs for multiple faces at once, as unstructured vectors of doubles

Parameters
[in]historyIdint
[in]backsidebool
[in]calcTexCoordsbool
[in]facesArray of int
Returns