KROYSDOCS
HomeWhat's newv0.1.0
SCRIPTING API / Other / VfxEvent

VfxEvent

A "Notify Script" event of an effect: its name and the world position of the particle.

Kindrecord struct
NamespaceKroys.EngineScripting
Members3
SourceVfx.cs
DECLARATION

Declaration

Namespace Kroys.EngineScripting.

Declaration
public readonly record struct VfxEvent(string Name, Vector3 Position)
REFERENCE

Members

Constructors
#public VfxEvent(string Name, Vector3 Position)
A "Notify Script" event of an effect: its name and the world position of the particle.
Name
The event name set on the Notify Script node.
Position
World position of the particle that raised it.
constructor
Properties
#public string Name { get; init; }
The event name set on the Notify Script node.
property
#public Vector3 Position { get; init; }
World position of the particle that raised it.
property
Signatures
public VfxEvent(string Name, Vector3 Position)
public string Name { get; init; }
public Vector3 Position { get; init; }

KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.