-
Notifications
You must be signed in to change notification settings - Fork 155
gridHelper
Wiki » Internal Components » Objects » Helpers » gridHelper
Creates a THREE.GridHelper
number
required
: The size of the grid
Default: 10
string
: Name for the 3D Object.
Default: ''
THREE.Vector3
: The position of the 3D object relative to the parent.
Default: new THREE.Vector3()
THREE.Euler
: The rotation of the 3D object relative to the parent, in euler form.
Default: new THREE.Euler()
THREE.Quaternion
: The rotation of the 3D object relative to the parent, in quaternion form.
Default: new THREE.Quaternion()
THREE.Vector3
: The scale of the 3D object relative to the parent.
Default: new THREE.Vector3(1, 1, 1)
THREE.Vector3
: The target position for the 3D object to look at.
If this property is set, THREE.Object3D#lookAt
will be called every time the value changes or the position of the object changes.
THREE.Matrix4
Default: new THREE.Matrix4()
bool
: Whether the 3D object will be culled by the camera frustum or not.
Default: true
bool
: Whether the 3D object will be visible or not.
Default: true
number
: The render order override for the 3D object.
bool
: Whether the 3D object will cast shadows or not.
Default: false
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.
Default: false
number
: The size of the step between 2 lines
Default: 1
one of types [THREE.Color, number, string]
: The color of the centerline.
Default: 0x444444
one of types [THREE.Color, number, string]
: The color of the lines of the grid.
Default: 0x888888
===
View Source |
---|
Home | Usage | API Reference | Examples