MtxVecUtils.FloatTo24Bit Method

Overload List

#SignatureDescription
1void FloatTo24Bit(Int32 n, ref Double[] Src, IntPtr Dst, TRounding Rounding)Convert double precision to 24 bit signed integer.
2void FloatTo24Bit(Int32 n, ref Single[] Src, IntPtr Dst, TRounding Rounding)Convert single precision to 24 bit signed integer.

Overload 1: void FloatTo24Bit(Int32 n, ref Double[] Src, IntPtr Dst, TRounding Rounding)

Convert double precision to 24 bit signed integer.

#NameTypeDescription
1nInt32
2SrcDouble[] (ref)
3DstIntPtr
4RoundingTRounding

Result: stored in self (calling object)

Remarks:

Convert double precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of double precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.

See Also: MtxVecUtils.Bit24ToFloat

Overload 2: void FloatTo24Bit(Int32 n, ref Single[] Src, IntPtr Dst, TRounding Rounding)

Convert single precision to 24 bit signed integer.

#NameTypeDescription
1nInt32
2SrcSingle[] (ref)
3DstIntPtr
4RoundingTRounding

Result: stored in self (calling object)

Remarks:

Convert single precision to 24 bit signed integer. The n parameter defines the number of elements to convert. Src is an array of single precision elements and Dst is a pointer to a byte array. Rounding parameter defines the rounding type used.

See Also: MtxVecUtils.Bit24ToFloat