AmbienceParamTrigger

AmbienceParamTrigger

new AmbienceParamTrigger(dataopt)

Source:

Creates an instance of AmbienceParamTrigger, which is implemented by the underlying C# class AmbienceParamTrigger in Celeste.

Parameters:
Name Type Attributes Default Description
data Object <optional>
{}

An object containing the attributes of the AmbienceParamTrigger to be created

Extends

Methods

toDict() → {Object}

Source:
Inherited From:

Encode a trigger into a dictionary

Example
// returns encoded trigger dictionary
const { Trigger } = require('lucid-dream');
const trigger = new Trigger('foo', {}, 2222);
trigger.toDict();
Returns:

An object containing the encoded trigger dicitonary

Type
Object