API

Class FlowGraphIsSoundPlayingBlockExperimental

A data block that checks whether an Audio V2 sound is currently playing.

Hierarchy

  • FlowGraphCachedOperationBlock<boolean>
    • FlowGraphIsSoundPlayingBlock
Index

the configuration of the block

dataInputs: FlowGraphDataConnection<any>[]

The data inputs of the block.

dataOutputs: FlowGraphDataConnection<any>[]

The data outputs of the block.

isValid: FlowGraphDataConnection<boolean>

Output connection: Whether the value is valid.

metadata: any

Metadata that can be used by the block.

name: string

The name of the block.

Input connection: The sound to check.

uniqueId: string = ...

A randomly generated GUID for each block.

value: FlowGraphDataConnection<boolean>

The output of the operation

  • Experimental

    Serializes this block

    Parameters

    • serializationObject: any = {}

      the object to serialize to

    • _valueSerializeFunction: (key: string, value: any, serializationObject: any) => any = defaultValueSerializationFunction

      a function that serializes a specific value

    Returns void