FormIt Plugin API  v23.0.0 (2023.0.0)
FormIt.VisualStyles API

Description

Functions

json FormIt.VisualStyles.GetShadowsVisible ()
 
json FormIt.VisualStyles.SetShadowsVisible (val)
 GetRenderShadowVisibility adjusts the setting to show shadows Parameters: In: val (bool) Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.GetAlwaysDrawInstanceBoxes ()
 GetAlwaysDrawInstanceBoxes determines whether bounding boxes are visible Parameters: In: None Out: { bool } representing the state of bounding box visibility. More...
 
json FormIt.VisualStyles.SetAlwaysDrawInstanceBoxes (val)
 SetGroupBoundingBoxVisibility adjusts whether bounding boxes are visible Parameters: In: val (bool) Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.IsGroundPlaneVisible ()
 IsGroundPlaneVisible indicates whether or not the ground plane will be drawn Parameters: In: None Out: { bool }. More...
 
json FormIt.VisualStyles.SetGroundPlaneVisible (val)
 SetGroundPlaneVisible sets whether or not the ground plane will be drawn Parameters: In: val (bool) true == ground plane will be drawn Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.IsWorkPlaneVisible ()
 IsWorkPlaneVisible indicates whether or not the work plane will be drawn Parameters: In: None Out: { bool }. More...
 
json FormIt.VisualStyles.SetWorkPlaneVisible (val)
 SetWorkPlaneVisible sets whether or not the work plane will be drawn Parameters: In: val (bool) true == work plane will be drawn Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.GetNorthArrowDisplay ()
 Returns true if the North arrow is set. More...
 
json FormIt.VisualStyles.SetNorthArrowDisplay (bOn)
 Sets if the North arrow should display - true to display, false to not display. More...
 
json FormIt.VisualStyles.ToggleNorthArrowDisplay ()
 toggles the North arrow display More...
 
json FormIt.VisualStyles.IsNorthArrowVisible ()
 returns true if the North arrow is set to display, false otherwise More...
 
json FormIt.VisualStyles.GetShowAxes ()
 Returns true if the axes are being shown, false otherwise. More...
 
json FormIt.VisualStyles.SetShowAxes (bShow)
 Sets if the axes should be drawn. More...
 
json FormIt.VisualStyles.SetShowSilhouettes (bShow)
 Sets if silhouettes should be drawn. More...
 
json FormIt.VisualStyles.SetShowEdges (bShow)
 Sets if edges should be drawn. More...
 
json FormIt.VisualStyles.IsGridVisible ()
 Return the grid display status Parameters: In: Out: bVisible. More...
 
json FormIt.VisualStyles.SetGridVisible (bVisible)
 Set the grid display status Parameters: In: bVisible Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.GetHighlightPreselect ()
 Return the preselect highlight display status Parameters: In: Out: bHighlight. More...
 
json FormIt.VisualStyles.SetHighlightPreselect (bHighlight)
 Set the preselect highlight display status Parameters: In: bHighlight Out: JSON_UNDEFINED. More...
 
json FormIt.VisualStyles.SetAmbientColorIntensity (i)
 Sets the "ambient color intensity," or how "bright" unlit, colored faces will appear. More...
 
json FormIt.VisualStyles.GetAmbientColorIntensity ()
 Get ambient color intensity. More...
 
json FormIt.VisualStyles.SetAmbientTextureIntensity (i)
 Sets the "ambient texture color intensity," or how "bright" unlit, textured faces will appear. More...
 
json FormIt.VisualStyles.GetAmbientTextureIntensity ()
 Get ambient texture intensity. More...
 
json FormIt.VisualStyles.SetAmbientMaterialIntensity (i)
 SetAmbientMaterialIntensity() function. More...
 
json FormIt.VisualStyles.SetSunShading (i)
 SetSunShading() function. More...
 
json FormIt.VisualStyles.GetSunShading ()
 GetSunShading() function. More...
 
json FormIt.VisualStyles.SetShadowIntensity (i)
 Sets the "shadow intensity," or how "dark" shadows appear. More...
 
json FormIt.VisualStyles.GetShadowIntensity ()
 Get the shadow intensity. More...
 
json FormIt.VisualStyles.SetAdvancedMaterialShaderType (type)
 Sets the shader type to use for materials. More...
 
json FormIt.VisualStyles.GetAdvancedMaterialShaderType ()
 Get the current material shader type. More...
 
json FormIt.VisualStyles.IsSkyRendered ()
 IsSkyRendered() function. More...
 
json FormIt.VisualStyles.SetSkyRendered (b)
 SetSkyRendered() function. More...
 
json FormIt.VisualStyles.IsFogRendered ()
 IsFogRendered() function. More...
 
json FormIt.VisualStyles.SetFogRendered (b)
 SetFogRendered() function. More...
 
json FormIt.VisualStyles.SetSkyLowerColor (color)
 SetSkyLowerColor() function. More...
 
json FormIt.VisualStyles.GetSkyLowerColor ()
 GetSkyLowerColor() function. More...
 
json FormIt.VisualStyles.SetSkyUpperColor (color)
 SetSkyUpperColor() function. More...
 
json FormIt.VisualStyles.GetSkyUpperColor ()
 GetSkyUpperColor() function. More...
 
json FormIt.VisualStyles.SetBackgroundColor (color)
 SetBackgroundColor() function. More...
 
json FormIt.VisualStyles.GetBackgroundColor ()
 GetBackgroundColor() function. More...
 
json FormIt.VisualStyles.SetGroundPlaneColor (color)
 SetGroundPlaneColor() function. More...
 
json FormIt.VisualStyles.GetGroundPlaneColor ()
 GetGroundPlaneColor() function. More...
 
json FormIt.VisualStyles.SetGroundPlaneTransparency (transparency)
 
json FormIt.VisualStyles.GetGroundPlaneTransparency ()
 GetGroundPlaneTransparency() function. More...
 
json FormIt.VisualStyles.SetWorkPlaneColor (color)
 SetWorkPlaneColor() function. More...
 
json FormIt.VisualStyles.GetWorkPlaneColor ()
 GetWorkPlaneColor() function. More...
 
json FormIt.VisualStyles.SetSunEditorEnabled (bEnabled)
 SetSunEditorEnabled() function. More...
 
json FormIt.VisualStyles.GetSunEditorEnabled ()
 GetSunEditorEnabled() function. More...
 
json FormIt.VisualStyles.GetEdgeWeight ()
 GetEdgeWeight() function. More...
 
json FormIt.VisualStyles.SetEdgeWeight (weight)
 SetEdgeWeight() function. More...
 
json FormIt.VisualStyles.GetEdgeColor ()
 GetEdgeColor() function. More...
 
json FormIt.VisualStyles.SetEdgeColor (color)
 SetEdgeColor() function. More...
 
json FormIt.VisualStyles.GetSilhouetteWeight ()
 GetSilhouetteWeight() function. More...
 
json FormIt.VisualStyles.SetSilhouetteWeight (weight)
 SetSilhouetteWeight() function. More...
 
json FormIt.VisualStyles.IsRenderSettingActive (flag)
 IsRenderSettingActive returns bool if the particular render mode is set Parameters: In: solid render flag enum Out: bool. More...
 
json FormIt.VisualStyles.SetRenderSettingFlags (flag, b)
 SetRenderSettingFlags takes a SolidRendererFlags and bool to enable the flag Parameters: In: flag, b solid render flag enum (FormIt.SolidRendererFlags), bool (on/off) Out: JSON_UNDEFINED. More...
 

Function Documentation

json FormIt.VisualStyles.GetAdvancedMaterialShaderType ( )

Get the current material shader type.

Returns
FY.EffectCache.EffectType
json FormIt.VisualStyles.GetAlwaysDrawInstanceBoxes ( )

GetAlwaysDrawInstanceBoxes determines whether bounding boxes are visible Parameters: In: None Out: { bool } representing the state of bounding box visibility.

Returns
{...}
json FormIt.VisualStyles.GetAmbientColorIntensity ( )

Get ambient color intensity.

Returns
float
json FormIt.VisualStyles.GetAmbientTextureIntensity ( )

Get ambient texture intensity.

Returns
float
json FormIt.VisualStyles.GetBackgroundColor ( )

GetBackgroundColor() function.

Returns
{...}
json FormIt.VisualStyles.GetEdgeColor ( )

GetEdgeColor() function.

Returns
{...}
json FormIt.VisualStyles.GetEdgeWeight ( )

GetEdgeWeight() function.

Returns
{...}
json FormIt.VisualStyles.GetGroundPlaneColor ( )

GetGroundPlaneColor() function.

Returns
{...}
json FormIt.VisualStyles.GetGroundPlaneTransparency ( )

GetGroundPlaneTransparency() function.

Returns
{...}
json FormIt.VisualStyles.GetHighlightPreselect ( )

Return the preselect highlight display status Parameters: In: Out: bHighlight.

Returns
bHighlight
json FormIt.VisualStyles.GetNorthArrowDisplay ( )

Returns true if the North arrow is set.

Returns
bool Success
json FormIt.VisualStyles.GetShadowIntensity ( )

Get the shadow intensity.

Returns
float
json FormIt.VisualStyles.GetShadowsVisible ( )
json FormIt.VisualStyles.GetShowAxes ( )

Returns true if the axes are being shown, false otherwise.

Returns
bool Success
json FormIt.VisualStyles.GetSilhouetteWeight ( )

GetSilhouetteWeight() function.

Returns
{...}
json FormIt.VisualStyles.GetSkyLowerColor ( )

GetSkyLowerColor() function.

Returns
{...}
json FormIt.VisualStyles.GetSkyUpperColor ( )

GetSkyUpperColor() function.

Returns
{...}
json FormIt.VisualStyles.GetSunEditorEnabled ( )

GetSunEditorEnabled() function.

Returns
{...}
json FormIt.VisualStyles.GetSunShading ( )

GetSunShading() function.

Returns
{...}
json FormIt.VisualStyles.GetWorkPlaneColor ( )

GetWorkPlaneColor() function.

Returns
{...}
json FormIt.VisualStyles.IsFogRendered ( )

IsFogRendered() function.

Returns
{...}
json FormIt.VisualStyles.IsGridVisible ( )

Return the grid display status Parameters: In: Out: bVisible.

Returns
bVisible
json FormIt.VisualStyles.IsGroundPlaneVisible ( )

IsGroundPlaneVisible indicates whether or not the ground plane will be drawn Parameters: In: None Out: { bool }.

Returns
{...}
json FormIt.VisualStyles.IsNorthArrowVisible ( )

returns true if the North arrow is set to display, false otherwise

Returns
bool Success
json FormIt.VisualStyles.IsRenderSettingActive ( flag  )

IsRenderSettingActive returns bool if the particular render mode is set Parameters: In: solid render flag enum Out: bool.

Parameters
[in]flagFormIt.SolidRendererFlags
Returns
{...}
json FormIt.VisualStyles.IsSkyRendered ( )

IsSkyRendered() function.

Returns
{...}
json FormIt.VisualStyles.IsWorkPlaneVisible ( )

IsWorkPlaneVisible indicates whether or not the work plane will be drawn Parameters: In: None Out: { bool }.

Returns
{...}
json FormIt.VisualStyles.SetAdvancedMaterialShaderType ( type  )

Sets the shader type to use for materials.

Parameters
FY.EffectCache.EffectType.Possible values are FormIt.VisualStyles.MaterialShaderType.{Standard,Custom}
[in]typeint
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetAlwaysDrawInstanceBoxes ( val  )

SetGroupBoundingBoxVisibility adjusts whether bounding boxes are visible Parameters: In: val (bool) Out: JSON_UNDEFINED.

Parameters
[in]valbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetAmbientColorIntensity ( )

Sets the "ambient color intensity," or how "bright" unlit, colored faces will appear.

Parameters
floatintensity in the range [0,1]
[in]ifloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetAmbientMaterialIntensity ( )

SetAmbientMaterialIntensity() function.

Parameters
[in]ifloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetAmbientTextureIntensity ( )

Sets the "ambient texture color intensity," or how "bright" unlit, textured faces will appear.

Parameters
floatintensity in the range [0,1]
[in]ifloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetBackgroundColor ( color  )

SetBackgroundColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetEdgeColor ( color  )

SetEdgeColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetEdgeWeight ( weight  )

SetEdgeWeight() function.

Parameters
[in]weightfloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetFogRendered ( )

SetFogRendered() function.

Parameters
[in]bbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetGridVisible ( bVisible  )

Set the grid display status Parameters: In: bVisible Out: JSON_UNDEFINED.

Parameters
[in]bVisiblebool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetGroundPlaneColor ( color  )

SetGroundPlaneColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetGroundPlaneTransparency ( transparency  )
json FormIt.VisualStyles.SetGroundPlaneVisible ( val  )

SetGroundPlaneVisible sets whether or not the ground plane will be drawn Parameters: In: val (bool) true == ground plane will be drawn Out: JSON_UNDEFINED.

Parameters
[in]valbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetHighlightPreselect ( bHighlight  )

Set the preselect highlight display status Parameters: In: bHighlight Out: JSON_UNDEFINED.

Parameters
[in]bHighlightbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetNorthArrowDisplay ( bOn  )

Sets if the North arrow should display - true to display, false to not display.

Parameters
[in]bOnbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetRenderSettingFlags ( flag  ,
 
)

SetRenderSettingFlags takes a SolidRendererFlags and bool to enable the flag Parameters: In: flag, b solid render flag enum (FormIt.SolidRendererFlags), bool (on/off) Out: JSON_UNDEFINED.

Parameters
[in]flagFormIt.SolidRendererFlags
[in]bbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetShadowIntensity ( )

Sets the "shadow intensity," or how "dark" shadows appear.

Parameters
floatintensity in the range [0,1]
[in]ifloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetShadowsVisible ( val  )

GetRenderShadowVisibility adjusts the setting to show shadows Parameters: In: val (bool) Out: JSON_UNDEFINED.

Parameters
[in]valbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetShowAxes ( bShow  )

Sets if the axes should be drawn.

Pass in true to draw, false to not draw

Parameters
[in]bShowbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetShowEdges ( bShow  )

Sets if edges should be drawn.

Pass in true to draw, false to not draw

Parameters
[in]bShowbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetShowSilhouettes ( bShow  )

Sets if silhouettes should be drawn.

Pass in true to draw, false to not draw

Parameters
[in]bShowbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetSilhouetteWeight ( weight  )

SetSilhouetteWeight() function.

Parameters
[in]weightfloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetSkyLowerColor ( color  )

SetSkyLowerColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetSkyRendered ( )

SetSkyRendered() function.

Parameters
[in]bbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetSkyUpperColor ( color  )

SetSkyUpperColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetSunEditorEnabled ( bEnabled  )

SetSunEditorEnabled() function.

Parameters
[in]bEnabledbool
Returns
JSON_UNDEFINED
json FormIt.VisualStyles.SetSunShading ( )

SetSunShading() function.

Parameters
[in]ifloat
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetWorkPlaneColor ( color  )

SetWorkPlaneColor() function.

Parameters
[in]colorWSM.Color
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.SetWorkPlaneVisible ( val  )

SetWorkPlaneVisible sets whether or not the work plane will be drawn Parameters: In: val (bool) true == work plane will be drawn Out: JSON_UNDEFINED.

Parameters
[in]valbool
Returns
JSON_UNDEFINED, i.e. {}
json FormIt.VisualStyles.ToggleNorthArrowDisplay ( )

toggles the North arrow display

Returns
JSON_UNDEFINED, i.e. {}