public override void Read( TagRecord _Tag , BinaryReader _GAFFileReader , ref GAFAnimationData _SharedData , ref GAFTimelineData _CurrentTimeline) { uint count = _GAFFileReader.ReadUInt32(); for (uint i = 0; i < count; ++i) { uint objectId = _GAFFileReader.ReadUInt32(); uint elementAtlasIdRef = _GAFFileReader.ReadUInt32(); GAFObjectType type = (GAFObjectType)_GAFFileReader.ReadUInt16(); _CurrentTimeline.masks.Add(new GAFMaskData(objectId, elementAtlasIdRef, type)); } }
public GAFMaskData(uint _ObjectID, uint _AtlasElementID, GAFObjectType _Type) { m_ObjectID = _ObjectID; m_AtlasElementID = _AtlasElementID; m_ObjectType = _Type; }