Classes
- AmbientLight
- AnimationMixer
- BasicMaterial
- Bone
- BooleanKeyframeTrack
- Box2
- Box3
- BufferAttribute
- Camera
- Color3
- ColorKeyframeTrack
- CubeGeometry
- CylinderGeometry
- DepthMaterial
- DirectionalLight
- DirectionalLightShadow
- DistanceMaterial
- EnvironmentMapPass
- Euler
- EventDispatcher
- FileLoader
- Fog
- FogExp2
- Frustum
- Geometry
- Group
- ImageLoader
- InstancedBufferAttribute
- InstancedGeometry
- InstancedInterleavedBuffer
- InterleavedBuffer
- InterleavedBufferAttribute
- KeyframeClip
- KeyframeTrack
- LambertMaterial
- Light
- LightCache
- LightShadow
- LineMaterial
- MatcapMaterial
- Material
- Matrix3
- Matrix4
- Mesh
- NumberKeyframeTrack
- Object3D
- PBR2Material
- PBRMaterial
- PhongMaterial
- Plane
- PlaneGeometry
- PointLight
- PointLightShadow
- PointsMaterial
- PropertyBindingMixer
- Quaternion
- QuaternionKeyframeTrack
- Ray
- Raycaster
- RenderBuffer
- Renderer
- RenderList
- RenderTarget2D
- RenderTargetBack
- RenderTargetBase
- RenderTargetCube
- RGBELoader
- Scene
- ShaderMaterial
- ShaderPostPass
- ShadowMapPass
- Skeleton
- SkinnedMesh
- Sphere
- SphereGeometry
- Spherical
- SpotLight
- SpotLightShadow
- StringKeyframeTrack
- Texture2D
- Texture3D
- TextureBase
- TextureCube
- TGALoader
- TorusKnotGeometry
- Triangle
- Vector2
- Vector3
- Vector4
- VectorKeyframeTrack
- WebGLCapabilities
- WebGLCore
Members
(static, readonly) ATTACHMENT :number
Enum for ATTACHMENT
Type:
- number
(static, readonly) BLEND_EQUATION :number
Enum for blend equation.
Type:
- number
(static, readonly) BLEND_FACTOR :number
Enum for blend factor.
Type:
- number
(static, readonly) BLEND_TYPE :string
Enum for blend Type.
Type:
- string
(static, readonly) CULL_FACE_TYPE :string
Enum for cull face Type.
Type:
- string
(static, readonly) DRAW_BUFFER :number
Enum for DRAW_BUFFER
Type:
- number
(static, readonly) DRAW_MODE :number
Enum for Draw Mode.
Type:
- number
(static, readonly) DRAW_SIDE :string
Enum for draw side.
Type:
- string
(static, readonly) ENVMAP_COMBINE_TYPE :number
Enum for Envmap Combine Type.
Type:
- number
(static, readonly) FOG_TYPE :string
Enum for fog Type.
Type:
- string
(static, readonly) LIGHT_TYPE :string
Enum for light Type.
Type:
- string
(static, readonly) MATERIAL_TYPE :string
Enum for material Type.
Type:
- string
(static, readonly) OBJECT_TYPE :string
Enum for object Type.
Type:
- string
(static, readonly) SHADING_TYPE :string
Enum for shading side.
Type:
- string
(static, readonly) SHADOW_TYPE :number
Enum for Shadow Type.
Type:
- number
(static, readonly) TEXEL_ENCODING_TYPE :number
Enum for Texel Encoding Type.
Type:
- number
(static, readonly) VERTEX_COLOR :number
Enum for Vertex Color.
Type:
- number
(static, readonly) WEBGL_ATTRIBUTE_TYPE :number
Enum for WebGL Attribute Type.
Type:
- number
(static, readonly) WEBGL_COMPARE_FUNC :number
Enum for WebGL compare function.
Type:
- number
(static, readonly) WEBGL_OP :number
Enum for WebGL Operation.
Type:
- number
(static, readonly) WEBGL_PIXEL_FORMAT :number
Enum for WebGL pixel format.
Type:
- number
(static, readonly) WEBGL_PIXEL_TYPE :number
Enum for WebGL pixel Type.
Type:
- number
(static, readonly) WEBGL_TEXTURE_FILTER :number
Enum for WebGL Texture filter.
Type:
- number
(static, readonly) WEBGL_TEXTURE_TYPE :number
Enum for WebGL Texture Type.
Type:
- number
(static, readonly) WEBGL_TEXTURE_WRAP :number
Enum for WebGL Texture wrap.
Type:
- number
(static, readonly) WEBGL_UNIFORM_TYPE :number
Enum for WebGL Uniform Type.
Taken from the WebGl spec.
Type:
- number
Methods
(static) cloneUniforms(value) → {Object}
Clone Object of Uniforms.
Parameters:
Name | Type | Description |
---|---|---|
value |
Object | The input uniforms. |
Returns:
- The result uniforms.
- Type
- Object
(static) generateUUID() → {string}
Method for generate uuid.
( http://www.broofa.com/Tools/Math.uuid.htm )
Returns:
- The uuid.
- Type
- string
(static) isPowerOfTwo(value) → {boolean}
Is this number a power of two.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The input number. |
Returns:
- Is this number a power of two.
- Type
- boolean
(static) nearestPowerOfTwo(value) → {number}
Return the nearest power of two number of this number.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The input number. |
Returns:
- The result number.
- Type
- number
(static) nextPowerOfTwo(value) → {number}
Return the next power of two number of this number.
Parameters:
Name | Type | Description |
---|---|---|
value |
number | The input number. |
Returns:
- The result number.
- Type
- number