Detailed Property Reference

Namespace: Canley.Utility.CSV.Standard
Class: CSVTable<T>

Definition

public CSVRotationMode rotationMode { get; set; }
  • Description: Controls how Quaternion data is handled during the import and export cycles.

  • Workflow:

    1. Parsing: Instructs the math parser whether incoming or outgoing rotation cells should map to Euler angles or raw 4-point coordinates.
    2. Serialization: Dictates the string formatting structure written back out to disk during table saves.
  • Returns: CSVRotationMode - The rotation handling mode enum (Euler or RawQuaternion).

  • Example:

public void ConfigureLevelRotation(CSVTable<LevelObjectRecord> levelTable)
{
    levelTable.rotationMode = CSVRotationMode.Euler;
    Debug.Log(message: $"Rotation mode configured to: {levelTable.rotationMode}");
}

TIP

Use Euler for level design or static prop tables to allow easy manual edits directly inside Excel, and RawQuaternion when you need absolute precision and want to prevent gimbal lock.