CylinderGeometry class

Inheritance

Constructors

CylinderGeometry(double radius, double height, int radialSubdivisions, int verticalSubdivisions, [bool topCap = true, bool bottomCap = true])

Properties

attributes Map<String, BufferAttribute>
The BufferGeometry attributes.
getter/setter pairinherited
bottomCap bool
Create bottom cap. Default = true.
getter/setter pair
bufferInfo BufferInfo
The buffer info.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double
Height of cylinder.
getter/setter pair
index BufferAttribute?
The BufferGeometry index.
getter/setter pairinherited
indices List<int>
getter/setter pair
normals List<double>
getter/setter pair
radialSubdivisions int
The number of subdivisions around the cylinder.
getter/setter pair
radius double
Radius of cylinder.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topCap bool
Create top cap. Default = true.
getter/setter pair
uvs List<double>
getter/setter pair
verticalSubdivisions int
The number of subdivisions down the cylinder.
getter/setter pair
vertices List<double>
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