BufferGeometry class
Constructors
Properties
-
attributes
↔ Map<
String, BufferAttribute> -
getter/setter pair
- bufferInfo ↔ BufferInfo
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ BufferAttribute?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
computeBufferInfo(
OpenGLContextES gl) → dynamic -
createBufferFromBufferAttribute(
OpenGLContextES gl, BufferAttribute bufferAttribute, int drawType) → dynamic -
The
drawTypecan be: -
getAttribute(
String name) → BufferAttribute -
getGLTypeForTypedArray(
BufferAttribute bufferAttribute) → dynamic -
getMax(
List< int> array) → int - Return the maximum number in the array.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttribute(
String name, BufferAttribute attribute) → BufferGeometry - Sets an attribute to this geometry. Use this rather than the attributes property, because an internal hashmap of .attributes is maintained to speed up iterating over attributes.
-
setIndex(
dynamic index) → BufferGeometry - Sets the index list, the list can be a List
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited