Object3D

THREE.Object3D
See theObject3D companion object
class Object3D extends Object

Base class for all objects in the THREE scene graph.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Known subtypes
class Camera
class ArrayCamera
class Group
class Light
class AmbientLight
class Line
class LineLoop
class LineSegments
class Mesh
trait MeshObject3D
class Points
class Scene
class Sprite
Show all

Members list

Value members

Concrete methods

def add(obj: Object3D*): this.type
def applyMatrix4(matrix: Matrix4): Unit
def applyQuaternion(q: Quaternion): this.type
def attach(obj: Object3D): this.type
def clear(): this.type
def copy(source: Object3D, recursive: Boolean): this.type
def getObjectById(id: Int): UndefOr[Object3D]
def getObjectByName(name: String): UndefOr[Object3D]
def getObjectByProperty(name: String, value: Any): UndefOr[Object3D]
def getWorldScale(target: Vector3): Vector3
def jsClone(recursive: Boolean): this.type
def localToWorld(vector: Vector3): Vector3
def lookAt(x: Any, y: UndefOr[Double], z: UndefOr[Double]): Unit
def raycast(raycaster: Object, intersects: Array[Object]): Unit
def remove(ob: Object3D*): this.type
def rotateOnAxis(axis: Vector3, angle: Double): this.type
def rotateOnWorldAxis(axis: Vector3, angle: Double): this.type
def rotateX(angle: Double): this.type
def rotateY(angle: Double): this.type
def rotateZ(angle: Double): this.type
def setRotationFromAxisAngle(axis: Vector3, angle: Double): Unit
def setRotationFromEuler(euler: Euler): Unit
def translateOnAxis(axis: Vector3, distance: Double): this.type
def translateX(distance: Double): this.type
def translateY(distance: Double): this.type
def translateZ(distance: Double): this.type
def traverse(callback: Function1[Object3D, Unit]): Unit
def traverseAncestors(callback: Function1[Object3D, Unit]): Unit
def traverseVisible(callback: Function1[Object3D, Unit]): Unit
def updateMatrix(): Unit
def updateMatrixWorld(force: Boolean): Unit
def updateWorldMatrix(updateParent: Boolean, updateChildren: Boolean): Unit
def worldToLocal(vector: Vector3): Vector3

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Concrete fields

val `type`: String
var castShadow: Boolean
val children: Array[Object3D]
var frustumCulled: Boolean
val id: Int
var layers: Object
var matrixAutoUpdate: Boolean
var matrixWorldNeedsUpdate: Boolean
var name: String
var parent: UndefOr[Object3D]
var receiveShadow: Boolean
var renderOrder: Double
var scale: Vector3
var userData: Object
val uuid: String
var visible: Boolean