-
Notifications
You must be signed in to change notification settings - Fork 155
cubeCamera
Wiki ▸ Internal Components ▸ Objects ▸ Cameras ▸ cubeCamera
Creates a THREE.CubeCamera
number
required
string
: The name property of the camera.
This gets used by <react3/>, <viewport/>, or <cameraHelper>.
THREE.Vector3
: The position of the 3D object relative to the parent.
THREE.Euler
: The rotation of the 3D object relative to the parent, in euler form.
THREE.Quaternion
: The rotation of the 3D object relative to the parent, in quaternion form.
THREE.Vector3
: The scale of the 3D object relative to the parent.
THREE.Vector3
: The target position for the 3D object to look at.
This calls THREE.Object3D#lookAt every time the value changes or the position of the object changes.
bool
: Whether the 3D object will be culled by the camera frustum or not.
bool
: Whether the 3D object will be visible or not.
number
: The render order override for the 3D object.
bool
: Whether the 3D object will cast shadows or not.
bool
: Whether the 3D object will receive shadows or not.
WARNING: This will trigger a refresh for any materials the object is using.
WARNING: If you use the same material for multiple objects and some of them receive shadows and some do not, it may cause adverse side effects. In that case, it is recommended to use different materials.
number
: The near property of the cube camera.
number
: The far property of the cube camera.
===
View Source |
---|
Home | Usage | API Reference | Examples