Class Fox::FXMaterial
In: rdoc-sources/FXGLViewer.rb
Parent: Object

OpenGL Material Description

Methods

new  

Attributes

ambient  [RW]  Ambient material color [FXVec4f]
diffuse  [RW]  Diffuse material color [FXVec4f]
emission  [RW]  Emissive material color [FXVec4f]
shininess  [RW]  Specular shininess [Float]
specular  [RW]  Specular material color [FXVec4f]

Public Class methods

Returns an initialized FXMaterial instance

[Validate]