ASCueSpec
Inherits:
RefCountedRuntime context for a cue execution.
Description
[ASCueSpec] provides context for visual/audio effects, such as who triggered it and where it happened.
Properties
| Type | Name | Default |
|---|---|---|
ASCue | cue | |
The definition resource. | ||
ASEffectSpec | effect_spec | |
The associated effect specification that triggered this cue. | ||
Dictionary | extra_data | {} |
Any extra data passed to the cue. | ||
Variant | hit_position | null |
Position. | ||
float | magnitude | 0.0 |
Calculated magnitude. | ||
ASComponent | source_asc | |
The component that originated the cue. | ||
ASComponent | target_asc | |
The component the cue is applied to. | ||
Object | target_node | |
The target Node the cue is playing on. | ||
Methods
| Return | Name |
|---|---|
float | get_level(
)
const |
Returns the level of the cue spec. | |
void | set_level(
level: float) |
Sets the level of the cue spec. | |