Class: Fox::FXMaterial

Inherits:
Object
  • Object
show all
Defined in:
rdoc-sources/FXGLViewer.rb

Overview

OpenGL Material Description

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFXMaterial

Returns an initialized FXMaterial instance


86
# File 'rdoc-sources/FXGLViewer.rb', line 86

def initialize; end

Instance Attribute Details

#ambientObject

Ambient material color Fox::FXVec4f


71
72
73
# File 'rdoc-sources/FXGLViewer.rb', line 71

def ambient
  @ambient
end

#diffuseObject

Diffuse material color Fox::FXVec4f


74
75
76
# File 'rdoc-sources/FXGLViewer.rb', line 74

def diffuse
  @diffuse
end

#emissionObject

Emissive material color Fox::FXVec4f


80
81
82
# File 'rdoc-sources/FXGLViewer.rb', line 80

def emission
  @emission
end

#shininessObject

Specular shininess [Float]


83
84
85
# File 'rdoc-sources/FXGLViewer.rb', line 83

def shininess
  @shininess
end

#specularObject

Specular material color Fox::FXVec4f


77
78
79
# File 'rdoc-sources/FXGLViewer.rb', line 77

def specular
  @specular
end