API

Interface IFlowGraphGetPropertyBlockConfiguration<O>

Configuration for the FlowGraphGetPropertyBlock.

interface IFlowGraphGetPropertyBlockConfiguration<
    O extends WebXRSpatialLayerType,
> {
    invalidValue?: unknown;
    object?: any;
    propertyName?: string;
    resetToDefaultWhenUndefined?: boolean;
}

Type Parameters

Hierarchy (View Summary)

Index
invalidValue?: unknown

Optional value copied for each failed resolution and returned alongside isValid=false. Scalars are retained, cloneable values use clone(), and arrays/plain records are copied recursively. Other objects must support structured cloning.

object?: any

The target asset from which the property will be retrieved

propertyName?: string

The name of the property that will be set

resetToDefaultWhenUndefined?: boolean

If true, the block will reset the output to the default value when the target asset is undefined.