PlaneGeometry class

Inheritance

Constructors

PlaneGeometry([double width = 1, double depth = 1, int subdivisionsWidth = 1, int subdivisionsDepth = 1])

Properties

attributes Map<String, BufferAttribute>
The BufferGeometry attributes.
getter/setter pairinherited
bufferInfo BufferInfo
The buffer info.
getter/setter pairinherited
depth double
the plane height.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index BufferAttribute?
The BufferGeometry index.
getter/setter pairinherited
indices List<int>
getter/setter pair
normals List<double>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subdivisionsDepth int
the plane depth subdivisions.
getter/setter pair
subdivisionsWidth int
the plane width subdivisions.
getter/setter pair
uvs List<double>
getter/setter pair
vertices List<double>
getter/setter pair
width double
the plane width.
getter/setter pair

Methods

computeBufferInfo(OpenGLContextES gl) → dynamic
inherited
createAttributeBuffer(OpenGLContextES gl, BufferAttribute bufferAttribute) Buffer
Creates an attribute buffer.
inherited
createBufferFromBufferAttribute(OpenGLContextES gl, BufferAttribute bufferAttribute, int drawType) Buffer
The drawType can be:
inherited
createIndexBuffer(OpenGLContextES gl, BufferAttribute bufferAttribute) Buffer
Creates an index buffer.
inherited
getAttribute(String name) BufferAttribute
Returns the named attribute from the attributes Map.
inherited
getGLTypeForTypedArray(BufferAttribute bufferAttribute) int
Checks the BufferAttribute and returns the corresponding gl array type.
inherited
getMax(List<int> array) int
Return the maximum number in the array.
inherited
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.
inherited
setIndex(dynamic index) BufferGeometry
Sets the index list, the list can be a List
inherited
toString() String
A string representation of this object.
inherited

Operators

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