InterleavedBufferAttribute class

Inheritance

Constructors

InterleavedBufferAttribute(InterleavedBuffer? data, int itemSize, int offset, [bool _normalized = false])

Properties

array NativeArray<num>
getter/setter pairinherited-setteroverride-getter
buffer int?
getter/setter pairinherited
count int
getter/setter pairinherited-setteroverride-getter
data InterleavedBuffer?
getter/setter pairinherited
elementSize 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 getteroverride
normalized bool
getter/setter pairinherited
offset int
getter/setter pair
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
usage int
getter/setter pairinherited
version int
getter/setter pairinherited

Methods

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

Operators

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