Language

Float4 Constructors

Definition

Overloads

Name Description
Float4()

Creates a vector with all components set to zero.

Float4(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Float4(Single, Single, Single, Single)

Creates a vector from the specified components.

Float4()

Creates a vector with all components set to zero.

[Android.Runtime.Register(".ctor", "()V", "")]
public Float4();
Attributes

Remarks

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

Float4(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected Float4(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Renderscripts.Float4 : nativeint * Android.Runtime.JniHandleOwnership -> Android.Renderscripts.Float4

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

Float4(Single, Single, Single, Single)

Creates a vector from the specified components.

[Android.Runtime.Register(".ctor", "(FFFF)V", "")]
public Float4(float x, float y, float z, float w);
[<Android.Runtime.Register(".ctor", "(FFFF)V", "")>]
new Android.Renderscripts.Float4 : single * single * single * single -> Android.Renderscripts.Float4

Parameters

x
Single

The initial value of the x component.

y
Single

The initial value of the y component.

z
Single

The initial value of the z component.

w
Single

The initial value of the w component.

Attributes

Remarks

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