Vector4i class
- Inheritance
-
- Object
- BuiltinType
- Vector4i
Constructors
- Vector4i()
- Vector4i.copy(Vector4i from)
- Vector4i.copyPtr(GDExtensionConstTypePtr ptr)
- Vector4i.fromVariantPtr(GDExtensionVariantPtr ptr)
- Vector4i.fromVector4(Vector4 from)
- Vector4i.fromXYZW(int x, int y, int z, int w)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nativeDataPtr
→ Pointer<
Uint8> -
no setterinherited
- nativePointerAddress → int
-
Since Pointer.address isn's tagged 'vm:entry-point', supply an
entry point that can get the raw pointer address for this object
no setterinherited
-
nativePtr
→ Pointer<
Uint8> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typeInfo
→ BuiltinTypeInfo<
Vector4i> -
no setteroverride
- w ↔ int
-
getter/setter pair
- x ↔ int
-
getter/setter pair
- y ↔ int
-
getter/setter pair
- z ↔ int
-
getter/setter pair
Methods
-
abs(
) → Vector4i -
allocateOpaque(
int size, GDExtensionPtrDestructor? destructor) → Pointer< Uint8> -
inherited
-
clamp(
Vector4i min, Vector4i max) → Vector4i -
clampi(
int min, int max) → Vector4i -
constructCopy(
GDExtensionTypePtr ptr) → void -
This is used by the generators to call the FFI copy constructors for
builtin types, usually as part of returning them from a ptr call.
override
-
distanceSquaredTo(
Vector4i to) → int -
distanceTo(
Vector4i to) → double -
length(
) → double -
lengthSquared(
) → int -
max(
Vector4i withval) → Vector4i -
maxAxisIndex(
) → int -
maxi(
int withval) → Vector4i -
min(
Vector4i withval) → Vector4i -
minAxisIndex(
) → int -
mini(
int withval) → Vector4i -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
) → Vector4i -
snapped(
Vector4i step) → Vector4i -
snappedi(
int step) → Vector4i -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → int -
operator []=(
int index, int value) → void
Static Properties
-
sTypeInfo
→ BuiltinTypeInfo<
Vector4i> -
final
Static Methods
-
initBindings(
) → void -
initBindingsConstructorDestructor(
) → void