Object3D class
- Implementers
Constructors
- Object3D(OpenGLContextES gl, BufferGeometry geometry, Material material)
Properties
- geometry ↔ BufferGeometry
-
The object geometry.
getter/setter pair
- gl ↔ OpenGLContextES
-
OpenGLES context.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- material ↔ Material
-
getter/setter pair
-
matrix
↔ List<
double> -
The object matrix4 or u_world matrix.
getter/setter pair
- name ↔ String
-
getter/setter pair
- position ↔ Vector3
-
The object position.
getter/setter pair
- programInfo ↔ ProgramInfo?
-
The object3d program info.
getter/setter pair
- rotation ↔ Vector3
-
The object rotation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ Vector3
-
The object scale.
getter/setter pair
-
uniforms
↔ Map<
String, dynamic> -
The object uniforms.
getter/setter pair
- vao ↔ dynamic
-
The object VAO.
getter/setter pair
Methods
-
dispose(
) → void - Call this method to:
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPosition(
Vector3 v) → dynamic - Set's the object position.
-
setRotation(
Vector3 v) → dynamic - Set's the object rotation in degrees.
-
setScale(
Vector3 v) → dynamic - Set's the object scale.
-
setupBox(
BufferGeometry geometry) → void -
setupCheckerboardTexture(
MeshBasicMaterial material) → void -
setupCone(
BufferGeometry geometry) → void -
setupCylinder(
BufferGeometry geometry) → void -
setupEdgedBox(
BufferGeometry geometry) → void -
setupGenericPlaneProgramInfo(
) → void -
setupGenericProgramInfo(
) → void -
setupMesh(
BufferGeometry geometry, Material material) → void -
setupPlane(
BufferGeometry geometry, Material material) → void -
setupPlaneWithTextureProgramInfo(
) → void -
setupSphere(
BufferGeometry geometry) → void -
setupTexture(
MeshBasicMaterial material) → void - Creates a new texture and sets the material uniforms texture location.
-
setupTriangle(
BufferGeometry geometry) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateMatrix(
) → dynamic - Compose the object matrix.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited