public ByteColor(byte[] data, ref int srcOffset) { R = FSHelpers.Read8(data, srcOffset + 0); G = FSHelpers.Read8(data, srcOffset + 1); B = FSHelpers.Read8(data, srcOffset + 2); srcOffset += 3; }
public HalfRotation(byte[] data, ref int srcOffset) { X = (short)FSHelpers.Read16(data, srcOffset); Y = (short)FSHelpers.Read16(data, srcOffset + 2); Z = (short)FSHelpers.Read16(data, srcOffset + 4); srcOffset += 6; }
public ByteColorAlpha(byte[] data, ref int srcOffset) { R = FSHelpers.Read8(data, srcOffset + 0); G = FSHelpers.Read8(data, srcOffset + 1); B = FSHelpers.Read8(data, srcOffset + 2); A = FSHelpers.Read8(data, srcOffset + 3); srcOffset += 4; }
public HalfRotationSingle(byte[] data, int srcOffset) { Value = (ushort)FSHelpers.Read16(data, srcOffset); }