gophergfx
Preparing search index...
PhongMaterial
Class PhongMaterial
Hierarchy (
View Summary
)
Material3
PhongMaterial
Index
Constructors
constructor
Properties
ambient
Color
blinn
diffuse
Color
gl
shininess
side
specular
Color
texture
visible
shader
Methods
draw
get
Color
initialize
set
Color
Constructors
constructor
new
PhongMaterial
()
:
PhongMaterial
Returns
PhongMaterial
Properties
ambient
Color
ambientColor
:
Color
blinn
blinn
:
boolean
diffuse
Color
diffuseColor
:
Color
Protected
Readonly
gl
gl
:
WebGL2RenderingContext
shininess
shininess
:
number
side
side
:
Side
specular
Color
specularColor
:
Color
texture
texture
:
Texture
|
null
visible
visible
:
boolean
Static
shader
shader
:
ShaderProgram
= ...
Methods
draw
draw
(
mesh
:
Mesh3
,
camera
:
Camera
,
lightManager
:
LightManager
)
:
void
Parameters
mesh
:
Mesh3
camera
:
Camera
lightManager
:
LightManager
Returns
void
get
Color
getColor
()
:
Color
Returns
Color
Protected
initialize
initialize
()
:
void
Returns
void
set
Color
setColor
(
color
:
Color
)
:
void
Parameters
color
:
Color
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
ambient
Color
blinn
diffuse
Color
gl
shininess
side
specular
Color
texture
visible
shader
Methods
draw
get
Color
initialize
set
Color
gophergfx
Loading...