canvas-toy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Standard
Material
constructor
alpha
Map
ambient
bump
Map
defines
diffuse
dirty
displament
Map
main
Texture
program
reflactivity
reflection
Map
specular
specular
Exponent
specular
Map
stencil
Map
transparency
Hierarchy
Material
StandardMaterial
Index
Constructors
constructor
Properties
alpha
Map
ambient
bump
Map
defines
diffuse
dirty
displament
Map
main
Texture
program
reflactivity
reflection
Map
specular
specular
Exponent
specular
Map
stencil
Map
transparency
Constructors
constructor
new
Standard
Material
(
gl
:
WebGLRenderingContext
, paramter
?:
IStandardMaterial
)
:
StandardMaterial
Parameters
gl:
WebGLRenderingContext
Default value
paramter:
IStandardMaterial
= {}
Returns
StandardMaterial
Properties
alpha
Map
alpha
Map
:
Texture
ambient
ambient
:
Vec3Array
= vec3.fromValues(0.1, 0.1, 0.1)
bump
Map
bump
Map
:
Texture
defines
defines
:
string
[]
= []
diffuse
diffuse
:
Vec3Array
= vec3.fromValues(0.8, 0.8, 0.8)
dirty
dirty
:
boolean
= true
displament
Map
displament
Map
:
Texture
main
Texture
main
Texture
:
Texture
program
program
:
Program
reflactivity
reflactivity
:
number
= 0.5
reflection
Map
reflection
Map
:
CubeTexture
specular
specular
:
Vec3Array
= vec3.fromValues(1, 1, 1)
specular
Exponent
specular
Exponent
:
number
= 1
specular
Map
specular
Map
:
Texture
stencil
Map
stencil
Map
:
Texture
transparency
transparency
:
number
= 0
Generated using
TypeDoc