API

Class FlowGraphGetAssetBlock<T>

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.

Type Parameters

Hierarchy (View Summary)

Index

the configuration of the block

index: FlowGraphDataConnection<FlowGraphNumber>

Input connection: The index of the asset in the corresponding array in the assets context.

type: FlowGraphDataConnection<T>

Input connection: The type of the asset.

value: FlowGraphDataConnection<Nullable<AssetType<T>>>

Output connection: The value of the property.