Class NodeGeometryBuildState
Constructors
constructor
-
Returns NodeGeometryBuildState
Properties
build Id
Gets or sets the build identifier
no Contextual Data
Gets or sets the list of non contextual inputs having no contextudal data
not Connected Non Optional Inputs
Gets or sets the list of non connected mandatory inputs
verbose
Gets or sets a boolean indicating that verbose mode is on
vertex Data
Gets or sets the vertex data
Accessors
execution Context
-
Gets or sets the execution context
Returns Nullable<INodeGeometryExecutionContext>
geometry Context
-
Gets or sets the geometry context
Returns Nullable<VertexData>
instancing Context
-
Gets or sets the instancing context
Returns Nullable<INodeGeometryInstancingContext>
Methods
adapt
-
adapt(
source: NodeGeometryConnectionPoint,
targetType: NodeGeometryBlockConnectionPointTypes,
): anyAdapt a value to a target type
Parameters
- source: NodeGeometryConnectionPoint
defines the value to adapt
- targetType: NodeGeometryBlockConnectionPointTypes
defines the target type
Returns any
the adapted value
- source: NodeGeometryConnectionPoint
adapt Input
-
adaptInput(
source: NodeGeometryConnectionPoint,
targetType: NodeGeometryBlockConnectionPointTypes,
defaultValue: any,
): anyAdapt an input value to a target type
Parameters
- source: NodeGeometryConnectionPoint
defines the value to adapt
- targetType: NodeGeometryBlockConnectionPointTypes
defines the target type
- defaultValue: any
defines the default value to use if not connected
Returns any
the adapted value
- source: NodeGeometryConnectionPoint
emit Errors
-
Emits console errors and exceptions if there is a failing check
Returns void
get Contextual Value
-
Gets the value associated with a contextual source
Parameters
- source: NodeGeometryContextualSources
Source of the contextual value
- skipWarning: boolean = false
Do not store the warning for reporting if true
Returns any
the value associated with the source
- source: NodeGeometryContextualSources
push Execution Context
-
Push the new active execution context
Parameters
- executionContext: INodeGeometryExecutionContext
defines the execution context
Returns void
- executionContext: INodeGeometryExecutionContext
push Geometry Context
-
Push the new active geometry context
Parameters
- geometryContext: VertexData
defines the geometry context
Returns void
- geometryContext: VertexData
push Instancing Context
-
Push the new active instancing context
Parameters
- instancingContext: INodeGeometryInstancingContext
defines the instancing context
Returns void
- instancingContext: INodeGeometryInstancingContext
restore Execution Context
-
Remove current execution context and restore the previous one
Returns void
restore Geometry Context
-
Remove current geometry context and restore the previous one
Returns void
restore Instancing Context
-
Remove current isntancing context and restore the previous one
Returns void
Class used to store node based geometry build state