API reference

Vector4f Class

Extends Parcelable
Four-component floating-point vector, typically used to represent a quaternion.

Constructors

Vector4f ( x , y , z , w )
Creates new vector with the given x, y, z, and w components.
Signature
metavr.graphics.Vector4f.Vector4f(float x, float y, float z, float w)
Parameters
x: float
y: float
z: float
w: float

Static Fields

CREATOR : final Creator< Vector4f >
Parcelable.Creator⁠ that reconstructs instances from a Parcel⁠.
Signature
final Creator<Vector4f> metavr.graphics.Vector4f.CREATOR

Methods

describeContents ()
Describes the special objects contained in this parcelable; always 0.
Signature
int metavr.graphics.Vector4f.describeContents()
Returns
int
equals ( o )
Indicates whether another object is equal to this one by value.
Signature
boolean metavr.graphics.Vector4f.equals(Object o)
Parameters
o: Object
Returns
boolean
hashCode ()
Returns a hash code consistent with equals(Object).
Signature
int metavr.graphics.Vector4f.hashCode()
Returns
int
toString ()
Returns a debug string representation of this object.
Signature
String metavr.graphics.Vector4f.toString()
Returns
String
writeToParcel ( _aidl_parcel , flags )
Flattens this object into the given Parcel⁠.
Signature
void metavr.graphics.Vector4f.writeToParcel(Parcel _aidl_parcel, int flags)
Parameters
_aidl_parcel: Parcel
flags: int
Returns
void