InstancedBufferAttribute constructor

InstancedBufferAttribute(
  1. NativeArray<num> array,
  2. int itemSize, [
  3. bool normalized = false,
  4. int meshPerAttribute = 1,
])

Implementation

InstancedBufferAttribute(NativeArray array, int itemSize, [bool normalized = false, this.meshPerAttribute = 1])
    : super(array, itemSize, normalized) {
  type = "InstancedBufferAttribute";
  // if ( normalized is num ) {
  //   meshPerAttribute = normalized;
  //   normalized = false;
  //   print( 'three.InstancedBufferAttribute: The constructor now expects normalized as the third argument.' );
  // }
}