KROYSDOCS
HomeWhat's newv0.1.0

Rotator

Script access to an entity's Rotator, which turns the entity at a constant rate.

Kindclass
NamespaceKroys.EngineScripting
Members3
SourceGenerated/NativeComponents.g.cs, NativeComponents.cs
DECLARATION

Declaration

Component access: every member takes the entity first, for example Rotator.Has(Entity). The values are the ones the Inspector shows for this component.

Declaration
public static partial class Rotator
REFERENCE

Members

Methods
#public static bool Has(Entity e)
Whether the entity has a Rotator component.
methodstatic
#public static float GetDegreesPerSecond(Entity e)
Reads the Rotator component's Degrees Per Second value of the entity.
methodstatic
#public static void SetDegreesPerSecond(Entity e, float value)
Sets the Rotator component's Degrees Per Second value on the entity.
methodstatic
Signatures
public static bool Has(Entity e)
public static float GetDegreesPerSecond(Entity e)
public static void SetDegreesPerSecond(Entity e, float value)

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