public WeightedKeyDataAdapter(byte *basePtr, int interpModesOffset, IKeyTimeAdapter keyTimeAdapter) { _interpModes = basePtr + interpModesOffset; _keyData = (float *)(basePtr + keyTimeAdapter.KeyDataOffset); }
public UniformKeyDataAdapter(ERichCurveCompressionFormat format, byte *basePtr, IKeyTimeAdapter keyTimeAdapter) { _format = format; _keyData = (float *)(basePtr + keyTimeAdapter.KeyDataOffset); }