Float32BufferAttribute class
Methods
-
applyMatrix3(Matrix3 m)
→ BufferAttribute<NativeArray<num>>
-
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<NativeArray<num>>
-
Applies normal matrix
m
to every Vector3 element of this
BufferAttribute.
inherited
-
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(Float32Array 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 bufferAttribute
index2
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)
→ 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<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)
→ BufferAttribute<NativeArray<num>>
-
Sets the w component of the vector at the given index.
inherited
-
setX(int index, num x)
→ BufferAttribute<NativeArray<num>>
-
Sets the x component of the vector at the given index.
inherited
-
setXY(int index, double x, double y)
→ BufferAttribute<NativeArray<num>>
-
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<NativeArray<num>>
-
Sets the x, y, z and w components of the vector at the given index.
inherited
-
setY(int index, num y)
→ BufferAttribute<NativeArray<num>>
-
Sets the y component of the vector at the given index.
inherited
-
setZ(int index, num z)
→ BufferAttribute<NativeArray<num>>
-
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<NativeArray<num>>
-
Applies matrix
m
to every Vector3 element of this
BufferAttribute, interpreting the elements as a direction vectors.
inherited