Class: Fox::FXMaterial
- Inherits:
-
Object
- Object
- Fox::FXMaterial
- Defined in:
- rdoc-sources/FXGLViewer.rb
Overview
OpenGL Material Description
Instance Attribute Summary collapse
-
#ambient ⇒ Object
Ambient material color FXVec4f.
-
#diffuse ⇒ Object
Diffuse material color FXVec4f.
-
#emission ⇒ Object
Emissive material color FXVec4f.
-
#shininess ⇒ Object
Specular shininess [Float].
-
#specular ⇒ Object
Specular material color FXVec4f.
Instance Method Summary collapse
-
#initialize ⇒ FXMaterial
constructor
Returns an initialized FXMaterial instance.
Constructor Details
#initialize ⇒ FXMaterial
Returns an initialized FXMaterial instance
86 |
# File 'rdoc-sources/FXGLViewer.rb', line 86 def initialize; end |
Instance Attribute Details
#ambient ⇒ Object
Ambient material color Fox::FXVec4f
71 72 73 |
# File 'rdoc-sources/FXGLViewer.rb', line 71 def ambient @ambient end |
#diffuse ⇒ Object
Diffuse material color Fox::FXVec4f
74 75 76 |
# File 'rdoc-sources/FXGLViewer.rb', line 74 def diffuse @diffuse end |
#emission ⇒ Object
Emissive material color Fox::FXVec4f
80 81 82 |
# File 'rdoc-sources/FXGLViewer.rb', line 80 def emission @emission end |
#shininess ⇒ Object
Specular shininess [Float]
83 84 85 |
# File 'rdoc-sources/FXGLViewer.rb', line 83 def shininess @shininess end |
#specular ⇒ Object
Specular material color Fox::FXVec4f
77 78 79 |
# File 'rdoc-sources/FXGLViewer.rb', line 77 def specular @specular end |