Int2 Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Int2() |
Creates a vector with all components set to zero. |
| Int2(Int32, Int32) |
Creates a vector from the specified components. |
| Int2(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Int2()
Creates a vector with all components set to zero.
[Android.Runtime.Register(".ctor", "()V", "")]
public Int2();
- 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
Int2(Int32, Int32)
Creates a vector from the specified components.
[Android.Runtime.Register(".ctor", "(II)V", "")]
public Int2(int x, int y);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Renderscripts.Int2 : int * int -> Android.Renderscripts.Int2
Parameters
- x
- Int32
The initial value of the x component.
- y
- Int32
The initial value of the y 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
Int2(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected Int2(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Renderscripts.Int2 : nativeint * Android.Runtime.JniHandleOwnership -> Android.Renderscripts.Int2
Parameters
- 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.