Mesh class

Inheritance

Constructors

Mesh(OpenGLContextES gl, BufferGeometry geometry, Material material)

Properties

geometry BufferGeometry
The object geometry.
getter/setter pairinherited
gl OpenGLContextES
OpenGLES context.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
material Material
getter/setter pairinherited
matrix List<double>
The object matrix4 or u_world matrix.
getter/setter pairinherited
name String
getter/setter pairinherited
position Vector3
The object position.
getter/setter pairinherited
programInfo ProgramInfo?
The object3d program info.
getter/setter pairinherited
rotation Vector3
The object rotation.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale Vector3
The object scale.
getter/setter pairinherited
uniforms Map<String, dynamic>
The object uniforms.
getter/setter pairinherited
vao ↔ dynamic
The object VAO.
getter/setter pairinherited

Methods

dispose() → void
Call this method to:
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setPosition(Vector3 v) → dynamic
Set's the object position.
inherited
setRotation(Vector3 v) → dynamic
Set's the object rotation in degrees.
inherited
setScale(Vector3 v) → dynamic
Set's the object scale.
inherited
setupBox(BufferGeometry geometry) → void
inherited
setupCheckerboardTexture(MeshBasicMaterial material) → void
inherited
setupCone(BufferGeometry geometry) → void
inherited
setupCylinder(BufferGeometry geometry) → void
inherited
setupEdgedBox(BufferGeometry geometry) → void
inherited
setupGenericPlaneProgramInfo() → void
inherited
setupGenericProgramInfo() → void
inherited
setupMesh(BufferGeometry geometry, Material material) → void
inherited
setupPlane(BufferGeometry geometry, Material material) → void
inherited
setupPlaneWithTextureProgramInfo() → void
inherited
setupSphere(BufferGeometry geometry) → void
inherited
setupTexture(MeshBasicMaterial material) → void
Creates a new texture and sets the material uniforms texture location.
inherited
setupTriangle(BufferGeometry geometry) → void
inherited
toString() String
A string representation of this object.
inherited
updateMatrix() → dynamic
Compose the object matrix.
inherited

Operators

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