39#define FACE GL_FRONT_AND_BACK
44- (id)initWithName:(NSString *)name
44- (id)initWithName:(NSString *)name {
…}
60- (id)initWithName:(NSString *)name configuration:(NSDictionary *)configuration
60- (id)initWithName:(NSString *)name configuration:(NSDictionary *)configuration {
…}
95 [materialName release];
154- (void)setAmbientAndDiffuseColor:(
OOColor *)color
154- (void)setAmbientAndDiffuseColor:(
OOColor *)color {
…}
224- (void)getDiffuseComponents:(GLfloat[4])outComponents
226 memcpy(outComponents,
diffuse, 4 *
sizeof *outComponents);
224- (void)getDiffuseComponents:(GLfloat[4])outComponents {
…}
230- (void)setDiffuseComponents:(const GLfloat[4])components
232 memcpy(
diffuse, components, 4 *
sizeof *components);
230- (void)setDiffuseComponents:(const GLfloat[4])components {
…}
236- (void)setAmbientAndDiffuseComponents:(const GLfloat[4])components
236- (void)setAmbientAndDiffuseComponents:(const GLfloat[4])components {
…}
243- (void)getSpecularComponents:(GLfloat[4])outComponents
245 memcpy(outComponents,
specular, 4 *
sizeof *outComponents);
243- (void)getSpecularComponents:(GLfloat[4])outComponents {
…}
249- (void)setSpecularComponents:(const GLfloat[4])components
251 memcpy(
specular, components, 4 *
sizeof *components);
249- (void)setSpecularComponents:(const GLfloat[4])components {
…}
255- (void)getAmbientComponents:(GLfloat[4])outComponents
257 memcpy(outComponents,
ambient, 4 *
sizeof *outComponents);
255- (void)getAmbientComponents:(GLfloat[4])outComponents {
…}
261- (void)setAmbientComponents:(const GLfloat[4])components
263 memcpy(
ambient, components, 4 *
sizeof *components);
261- (void)setAmbientComponents:(const GLfloat[4])components {
…}
267- (void)getEmissionComponents:(GLfloat[4])outComponents
269 memcpy(outComponents,
emission, 4 *
sizeof *outComponents);
267- (void)getEmissionComponents:(GLfloat[4])outComponents {
…}
273- (void)setEmissionComponents:(const GLfloat[4])components
275 memcpy(
emission, components, 4 *
sizeof *components);
273- (void)setEmissionComponents:(const GLfloat[4])components {
…}
279- (void)setDiffuseRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a
279- (void)setDiffuseRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a {
…}
288- (void)setAmbientAndDiffuseRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a
288- (void)setAmbientAndDiffuseRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a {
…}
295- (void)setSpecularRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a
295- (void)setSpecularRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a {
…}
304- (void)setAmbientRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a
304- (void)setAmbientRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a {
…}
313- (void)setEmissionRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a
313- (void)setEmissionRed:(GLfloat)r green:(GLfloat)g blue:(GLfloat)b alpha:(GLfloat)a {
…}
329- (void)setShininess:(uint8_t)value
329- (void)setShininess:(uint8_t)value {
…}
337 return ![UNIVERSE reducedDetail];
static OOBasicMaterial * sDefaultMaterial
void setAmbientRed:green:blue:alpha:(GLfloat r,[green] GLfloat g,[blue] GLfloat b,[alpha] GLfloat a)
void setShininess:(uint8_t value)
void setEmissionColor:(OOColor *color)
void setDiffuseColor:(OOColor *color)
id initWithName:(NSString *name)
void setSpecularColor:(OOColor *color)
OOColor * emmisionColor()
void setAmbientComponents:(const GLfloat[4] components)
void setSpecularRed:green:blue:alpha:(GLfloat r,[green] GLfloat g,[blue] GLfloat b,[alpha] GLfloat a)
OOColor * specularColor()
void setDiffuseComponents:(const GLfloat[4] components)
void setDiffuseRed:green:blue:alpha:(GLfloat r,[green] GLfloat g,[blue] GLfloat b,[alpha] GLfloat a)
void setEmissionRed:green:blue:alpha:(GLfloat r,[green] GLfloat g,[blue] GLfloat b,[alpha] GLfloat a)
void setAmbientColor:(OOColor *color)
OOColor * colorWithRed:green:blue:alpha:(float red,[green] float green,[blue] float blue,[alpha] float alpha)
OOColor * colorWithDescription:(id description)