-
Notifications
You must be signed in to change notification settings - Fork 103
Enums
cjcliffe edited this page Oct 15, 2011
·
8 revisions
Note that most class constructors and functions expecting a CubicVR.enum.* value will now accept a string simply representing the enum name. i.e. "point"
can be used in place of CubicVR.enums.light.type.POINT
, if an invalid string enum is provided you will see a warning in the console along with a list of the possible values for that enum.
CubicVR.enums.frustum.plane.LEFT
CubicVR.enums.frustum.plane.RIGHT
CubicVR.enums.frustum.plane.TOP
CubicVR.enums.frustum.plane.NEAR
CubicVR.enums.frustum.plane.FAR
-
CubicVR.enums.light.type.NULL
- No light, used as a placeholder internally or for dummy operations. -
CubicVR.enums.light.type.POINT
- A point light, usesLight.distance
for maximum range. -
CubicVR.enums.light.type.DIRECTIONAL
- A directional light with infinite distance, usesLight.direction
vector for direction. -
CubicVR.enums.light.type.SPOT
- A spot light with direction, distance and cutoff. -
CubicVR.enums.light.type.SPOT_SHADOW
- A spot light with direction, distance and cutoff and shadows. -
CubicVR.enums.light.type.SPOT_SHADOW_PROJECTOR
- A spot light with direction, distance and cutoff, shadows and a texture projector. -
CubicVR.enums.light.type.AREA
- A directional (orthographic) light for shadowing large areas.
-
CubicVR.enums.light.method.GLOBAL
- light is always on -
CubicVR.enums.light.method.STATIC
- light extents are fixed -
CubicVR.enums.light.method.DYNAMIC
- light will be tracked dynamically
CubicVR.enums.texture.map.COLOR
CubicVR.enums.texture.map.ENVSPHERE
CubicVR.enums.texture.map.NORMAL
CubicVR.enums.texture.map.BUMP
CubicVR.enums.texture.map.REFLECT
CubicVR.enums.texture.map.SPECULAR
CubicVR.enums.texture.map.AMBIENT
CubicVR.enums.texture.map.ALPHA
CubicVR.enums.texture.map.MAX
CubicVR.enums.texture.filter.LINEAR
CubicVR.enums.texture.filter.LINEAR_MIP
CubicVR.enums.texture.filter.NEAREST
CubicVR.enums.texture.filter.NEAREST_MIP
CubicVR.enums.uv.axis.X
CubicVR.enums.uv.axis.Y
CubicVR.enums.uv.axis.Z
CubicVR.enums.uv.projection.UV
CubicVR.enums.uv.projection.PLANAR
CubicVR.enums.uv.projection.SPHERICAL
CubicVR.enums.uv.projection.CUBIC
CubicVR.enums.uv.projection.SKY
CubicVR.enums.shader.map.COLOR
CubicVR.enums.shader.map.SPECULAR
CubicVR.enums.shader.map.NORMAL
CubicVR.enums.shader.map.BUMP
CubicVR.enums.shader.map.REFLECT
CubicVR.enums.shader.map.ENVSPHERE
CubicVR.enums.shader.map.AMBIENT
CubicVR.enums.shader.map.ALPHA
CubicVR.enums.shader.uniform.MATRIX
CubicVR.enums.shader.uniform.VECTOR
CubicVR.enums.shader.uniform.FLOAT
CubicVR.enums.shader.uniform.ARRAY_VERTEX
CubicVR.enums.shader.uniform.ARRAY_UV
CubicVR.enums.shader.uniform.ARRAY_FLOAT
CubicVR.enums.shader.uniform.INT
-
CubicVR.enums.motion.POS
- Position -
CubicVR.enums.motion.ROT
- Rotation -
CubicVR.enums.motion.SCL
- Scale -
CubicVR.enums.motion.FOV
- Field of View -
CubicVR.enums.motion.LENS
- Focal Length -
CubicVR.enums.motion.NEARCLIP
- Near Clip plane -
CubicVR.enums.motion.FARCLIP
- Far Clip plane -
CubicVR.enums.motion.INTENSITY
- Light Intensity -
CubicVR.enums.motion.V
- Value for controller CubicVR.enums.motion.X
CubicVR.enums.motion.Y
CubicVR.enums.motion.Z
-
CubicVR.enums.envelope.shape.TCB
- Tension/Continuity/Bias -
CubicVR.enums.envelope.shape.HERM
- Hermite -
CubicVR.enums.envelope.shape.BEZI
- 1D Bezier -
CubicVR.enums.envelope.shape.LINE
- Linear -
CubicVR.enums.envelope.shape.STEP
- Step (constant) -
CubicVR.enums.envelope.shape.BEZ2
- 2D Bezier
-
CubicVR.enums.envelope.behavior.RESET
- Reset to 0 -
CubicVR.enums.envelope.behavior.CONSTANT
- Maintain values -
CubicVR.enums.envelope.behavior.REPEAT
- Repeat -
CubicVR.enums.envelope.behavior.OSCILLATE
- Oscillate or "ping-pong" -
CubicVR.enums.envelope.behavior.OFFSET
- Offset repeat (accumulate loop offsets) -
CubicVR.enums.envelope.behavior.LINEAR
- Continue indefinitely at the incoming/outing tangents
CubicVR.enums.post.output.REPLACE
CubicVR.enums.post.output.BLEND
CubicVR.enums.post.output.ADD
CubicVR.enums.post.output.ALPHACUT