Uint32BufferAttribute class

Inheritance

Constructors

Uint32BufferAttribute(Uint32List array, int itemSize, [bool normalized = false])
Uint32BufferAttribute.fromList(List<int> list, int itemSize, [bool normalized = false])
factory

Properties

array ↔ Uint32List
getter/setter pairinherited
buffer ↔ int?
getter/setter pairinherited
count ↔ int
getter/setter pairinherited
data ↔ InterleavedBuffer?
getter/setter pairinherited
elementSize ↔ int?
getter/setter pairinherited
gpuType ↔ int
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
isBufferAttribute ↔ bool
getter/setter pairinherited
itemSize ↔ int
getter/setter pairinherited
length → int
no setterinherited
name ↔ String?
getter/setter pairinherited
needsUpdate ← bool
no getterinherited
normalized ↔ bool
getter/setter pairinherited
onUploadCallback ↔ void Function()?
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String
getter/setter pairinherited
updateRange ↔ Map<String, int>?
getter/setter pairinherited
updateRanges ↔ List<Ranges>
getter/setter pairinherited
usage ↔ int
getter/setter pairinherited
version ↔ int
getter/setter pairinherited

Methods

addUpdateRange(int start, int count) → void
inherited
applyMatrix3(Matrix3 m) → BufferAttribute<TypedDataList>
Applies matrix m to every Vector3 element of this BufferAttribute.
inherited
applyMatrix4(Matrix4 m) → void
Applies matrix m to every Vector3 element of this BufferAttribute.
inherited
applyNormalMatrix(Matrix3 m) → BufferAttribute<TypedDataList>
Applies normal matrix m to every Vector3 element of this BufferAttribute.
inherited
clearUpdateRanges() → void
inherited
clone([Map<String, dynamic>? data]) → BufferAttribute<TypedDataList>
Return a copy of this bufferAttribute.
inherited
copy(BufferAttribute<TypedDataList> source) → BufferAttribute<TypedDataList>
Copies another BufferAttribute to this BufferAttribute.
inherited
copyArray(Uint32List array) → BufferAttribute<TypedDataList>
Copy the array given here (which can be a normal array or TypedArray) into array.
inherited
copyAt(int index1, BufferAttribute<TypedDataList> attribute, int index2) → BufferAttribute<TypedDataList>
Copy a vector from bufferAttributeindex2 to arrayindex1.
inherited
copyColorsArray(List<Color> colors) → BufferAttribute<TypedDataList>
Copy the Color array given here into array.
inherited
copyVector2sArray(List<Vector2> vectors) → BufferAttribute<TypedDataList>
Copy the Vector2 array given here into array.
inherited
copyVector3sArray(List<Vector3> vectors) → BufferAttribute<TypedDataList>
Copy the Vector3 array given here into array.
inherited
copyVector4sArray(List<Vector4> vectors) → BufferAttribute<TypedDataList>
Copy the Vector4 array given here into array.
inherited
dispose() → void
inherited
getAt(int index) → double?
inherited
getFrom(String key, int index) → num?
inherited
getW(int index) → num?
Returns the w component of the vector at the given index.
inherited
getX(int index) → num?
Returns the x component of the vector at the given index.
inherited
getY(int index) → num?
Returns the y component of the vector at the given index.
inherited
getZ(int index) → num?
Returns the z component of the vector at the given index.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onUpload(void callback()?) → BufferAttribute<TypedDataList>
inherited
set(dynamic value, {int offset = 0}) → BufferAttribute<TypedDataList>
value - an List or [TypedData from which to copy values.
inherited
setFrom(String key, int index, num number) → void
inherited
setUsage(int value) → BufferAttribute<TypedDataList>
inherited
setW(int index, double w) → BufferAttribute<TypedDataList>
Sets the w component of the vector at the given index.
inherited
setX(int index, num x) → BufferAttribute<TypedDataList>
Sets the x component of the vector at the given index.
inherited
setXY(int index, double x, double y) → BufferAttribute<TypedDataList>
Sets the x and y components of the vector at the given index.
inherited
setXYZ(int index, double x, double y, double z) → void
Sets the x, y and z components of the vector at the given index.
inherited
setXYZW(int index, num x, num y, num z, num w) → BufferAttribute<TypedDataList>
Sets the x, y, z and w components of the vector at the given index.
inherited
setY(int index, num y) → BufferAttribute<TypedDataList>
Sets the y component of the vector at the given index.
inherited
setZ(int index, num z) → BufferAttribute<TypedDataList>
Sets the z component of the vector at the given index.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited
transformDirection(Matrix4 m) → BufferAttribute<TypedDataList>
Applies matrix m to every Vector3 element of this BufferAttribute, interpreting the elements as a direction vectors.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited