Share via


AllocationAdapter.SetZ(Int32) Method

Definition

Set the active Z.

[Android.Runtime.Register("setZ", "(I)V", "GetSetZ_IHandler")]
public virtual void SetZ (int z);
[<Android.Runtime.Register("setZ", "(I)V", "GetSetZ_IHandler")>]
abstract member SetZ : int -> unit
override this.SetZ : int -> unit

Parameters

z
Int32

The z to make active.

Attributes

Remarks

Set the active Z. The z value must be within the range for the allocation being adapted. The base allocation must contain the Z dimension.

Java documentation for android.renderscript.AllocationAdapter.setZ(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