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:
- Parsing: Instructs the math parser whether incoming or outgoing rotation cells should map to Euler angles or raw 4-point coordinates.
- Serialization: Dictates the string formatting structure written back out to disk during table saves.
-
Returns:
CSVRotationMode- The rotation handling mode enum (EulerorRawQuaternion). -
Example:
public void ConfigureLevelRotation(CSVTable<LevelObjectRecord> levelTable)
{
levelTable.rotationMode = CSVRotationMode.Euler;
Debug.Log(message: $"Rotation mode configured to: {levelTable.rotationMode}");
}TIP
Use
Eulerfor level design or static prop tables to allow easy manual edits directly inside Excel, andRawQuaternionwhen you need absolute precision and want to prevent gimbal lock.