@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
30 lines (29 loc) • 1.19 kB
TypeScript
import { type FlowGraphContext } from "../../../flowGraphContext.js";
import { type FlowGraphDataConnection } from "../../../flowGraphDataConnection.js";
import { FlowGraphExecutionBlockWithOutSignal } from "../../../flowGraphExecutionBlockWithOutSignal.js";
import { type FlowGraphSignalConnection } from "../../../flowGraphSignalConnection.js";
import { type IFlowGraphBlockConfiguration } from "../../../flowGraphBlock.js";
import { type AbstractSound } from "../../../../AudioV2/abstractAudio/abstractSound.js";
/**
* @experimental
* A block that stops an Audio V2 sound.
*/
export declare class FlowGraphStopSoundBlock extends FlowGraphExecutionBlockWithOutSignal {
/**
* Input connection: The sound to stop.
*/
readonly sound: FlowGraphDataConnection<AbstractSound>;
/**
* Constructs a new FlowGraphStopSoundBlock.
* @param config - optional configuration for the block
*/
constructor(config?: IFlowGraphBlockConfiguration);
/**
* @internal
*/
_execute(context: FlowGraphContext, _callingSignal: FlowGraphSignalConnection): void;
/**
* @returns class name of the block.
*/
getClassName(): string;
}