Udostępnij za pośrednictwem


RggbChannelVector.CopyTo(Single[], Int32) Method

Definition

Copy the vector into the destination in the order [R, Geven, Godd, B].

[Android.Runtime.Register("copyTo", "([FI)V", "")]
public void CopyTo (float[]? destination, int offset);
[<Android.Runtime.Register("copyTo", "([FI)V", "")>]
member this.CopyTo : single[] * int -> unit

Parameters

destination
Single[]

an array big enough to hold at least #COUNT elements after the offset

offset
Int32

a non-negative offset into the array

Attributes

Exceptions

If destination was null

If there's not enough room to write the elements at the specified destination and offset.

Remarks

Copy the vector into the destination in the order [R, Geven, Godd, B].

Java documentation for android.hardware.camera2.params.RggbChannelVector.copyTo(float[], int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to