VFXSelectionTelegraph ​
Inherits: VFXSelection < Resource
Telegraph VFX selection - warning/indicator effects for abilities
Properties ​
VFXTelegraph.TelegraphShape | telegraph_shape | VFXTelegraph.TelegraphShape.CIRCLE |
Vector2 | telegraph_size | Vector2(5.0, 5.0) |
Color | telegraph_color | Color.RED |
VFXTelegraph.TelegraphAttachment | attachment_type | VFXTelegraph.TelegraphAttachment.POINT |
float | orientation_offset | 0.0 |
Methods ​
Variant | prepare_target_for_vfx_type( target: Variant, originator: Variant = null ) |
String | get_description() |
String | get_vfx_type() |
String | get_vfx_name() |
Dictionary | get_telegraph_config() |
Property descriptions ​
VFXTelegraph.TelegraphShape telegraph_shape = VFXTelegraph.TelegraphShape.CIRCLE ​
The shape of the warning (a circle, a cone, a line ...).
Vector2 telegraph_size = Vector2(5.0, 5.0) ​
X,Z for decal
Color telegraph_color = Color.RED ​
The color of the warning.
VFXTelegraph.TelegraphAttachment attachment_type = VFXTelegraph.TelegraphAttachment.POINT ​
What the warning is attached to (a point, the user ...).
float orientation_offset = 0.0 ​
Y rotation in degrees
Method descriptions ​
Variant prepare_target_for_vfx_type( target: Variant, originator: Variant = null ) ​
Telegraph VFX uses target as-is (no special preparation needed)
String get_description() ​
A short text about the visual effect, for the editor.
String get_vfx_type() ​
The kind of visual effect (beam, loop, one shot ...).
String get_vfx_name() ​
The name of the visual effect that is picked.
Dictionary get_telegraph_config() ​
Get telegraph configuration for VFXTelegraph