Example #1
0
        private static void OnTrackCreated(Track track)
        {
            track.AddProperty(COLOR, PropertyType.Vector4);
            track.AddPathProperty(COLOR, PropertyType.Vector4);

            // For Environment Enhancements
            track.AddProperty(POSITION, PropertyType.Vector3);
            track.AddProperty(LOCALPOSITION, PropertyType.Vector3);
            track.AddProperty(OBJECTROTATION, PropertyType.Quaternion);
            track.AddProperty(LOCALROTATION, PropertyType.Quaternion);
            track.AddProperty(SCALE, PropertyType.Vector3);
        }