InstancedBufferAttribute class
An instanced version of BufferAttribute.
- Inheritance
- 
    - Object
- BaseBufferAttribute<NativeArray< num> >
- BufferAttribute<NativeArray< num> >
- InstancedBufferAttribute
 
Constructors
- 
          InstancedBufferAttribute(NativeArray<num> array, int itemSize, [bool normalized = false, int meshPerAttribute = 1])
- 
          InstancedBufferAttribute (array,itemSize,normalized,meshPerAttribute)
Properties
- 
  array
  ↔ NativeArray<num> 
- 
  
  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
- meshPerAttribute ↔ int
- 
  
  getter/setter pair
- 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< NativeArray< num> >
- 
  Applies matrix mto every Vector3 element of this BufferAttribute.inherited
- 
  applyMatrix4(Matrix4 m) → void 
- 
  Applies matrix mto every Vector3 element of this BufferAttribute.inherited
- 
  applyNormalMatrix(Matrix3 m) → BufferAttribute< NativeArray< num> >
- 
  Applies normal matrix mto every Vector3 element of this BufferAttribute.inherited
- 
  clearUpdateRanges() → void 
- 
  
  inherited
- 
  clone() → BufferAttribute< NativeArray< num> >
- 
  Return a copy of this bufferAttribute.
  inherited
- 
  copy(BufferAttribute< NativeArray< source) → BufferAttribute<num> >NativeArray< num> >
- 
  Copies another BufferAttribute to this BufferAttribute.
  override
- 
  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< attribute, int index2) → BufferAttribute<num> >NativeArray< num> >
- 
  Copy a vector from bufferAttributeindex2to 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> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  transformDirection(Matrix4 m) → BufferAttribute< NativeArray< num> >
- 
  Applies matrix mto every Vector3 element of this BufferAttribute, interpreting the elements as a direction vectors.inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited