Vector4 class
Vector4, 4 components.
Constructors
- Vector4(double x, double y, double z, double w)
- Vector4, 4 components.
- Vector4.all(double value)
-
Construct Vector2 with all values set to
value
. - Vector4.fromRef(Vector4 ref)
- Construct Vector4 from native reference.
- Vector4.zero()
- Construct empty Vector4.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pointer
→ Pointer<
Vector4> ? -
Native pointer, used internally.
final
- ref ↔ Vector4
-
Native reference.
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- w ↔ double
-
Vector w component.
getter/setter pair
- x ↔ double
-
Vector x component.
getter/setter pair
- y ↔ double
-
Vector y component.
getter/setter pair
- z ↔ double
-
Vector z component.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited