Class FlowGraphGetAssetBlock<T>
Type Parameters
- T extends WebXRSpatialLayerType
Hierarchy (View Summary)
- WebXRSpatialLayerType
- FlowGraphGetAssetBlock
Index
Constructors
constructor
-
new FlowGraphGetAssetBlock<T extends FlowGraphAssetType>(
config: IFlowGraphGetAssetBlockConfiguration<T>,
): FlowGraphGetAssetBlock<T>Type Parameters
- T extends FlowGraphAssetType
Parameters
- config: IFlowGraphGetAssetBlockConfiguration<T>
the configuration of the block
Returns FlowGraphGetAssetBlock<T>
Properties
config
the configuration of the block
Readonlyindex
index: FlowGraphDataConnection<FlowGraphNumber>
Input connection: The index of the asset in the corresponding array in the assets context.
Readonlytype
Input connection: The type of the asset.
Readonlyvalue
Output connection: The value of the property.
A block that will deliver an asset as an output, based on its type and place in the assets index.
The assets are loaded from the assetsContext defined in the context running this block. The assetsContext is a class extending AbstractClass, meaning it can be a Scene, an AssetsContainers, and any other class that extends AbstractClass.