Interface IFlowGraphCoordinatorParseOptions
interface IFlowGraphCoordinatorParseOptions {
pathConverter?: IPathToObjectConverter<IObjectAccessor<any, any, any>>;
scene: Scene;
valueParseFunction?: (
key: string,
serializationObject: any,
assetsContainer: IAssetContainer,
scene: Scene,
) => any;
}
pathConverter?: IPathToObjectConverter<IObjectAccessor<any, any, any>>;
scene: Scene;
valueParseFunction?: (
key: string,
serializationObject: any,
assetsContainer: IAssetContainer,
scene: Scene,
) => any;
}
Properties
Optionalpath Converter
The path converter to use to convert the path to an object accessor.
scene
The scene that the flow graph coordinator belongs to.
Optionalvalue Parse Function
valueParseFunction?: (
key: string,
serializationObject: any,
assetsContainer: IAssetContainer,
scene: Scene,
) => any
key: string,
serializationObject: any,
assetsContainer: IAssetContainer,
scene: Scene,
) => any
A function that will be called to parse the value of a property.
Type Declaration
-
- (
key: string,
serializationObject: any,
assetsContainer: IAssetContainer,
scene: Scene,
): any -
Parameters
- key: string
the key of the property
- serializationObject: any
the serialization object where the property is located
- assetsContainer: IAssetContainer
the assets container
- scene: Scene
the scene that the block is being parsed in
Returns any
- key: string
- (
Parameters used to parse a flow graph coordinator.