Cataclysm Core Mono Library (CCML) Documentation

Cataclysm.Transform

Cataclysm.Transform
CCML/Source/Cataclysm/ECS/Components/Transform.cs

public class Transform : Component
PropertyDescription
Vec3 GlobalRotationGlobal rotation in euler angles.
Vec3 GlobalScaleGlobal scale.
Vec3 GlobalTranslationGlobal translation in euclidean space.
Vec3 RotationLocal rotation in euler angles.
Vec3 ScaleLocal scale.
Vec3 TranslationLocal translation in euclidean space.
MethodDescription
void Rotate(Vec3 rotation)Adds the given rotation to the entity’s rotation.
void Translate(Vec3 translation)Adds the given translation to the entity’s translation.
override void Reset()Resets component fields to default values.