FBMaterial Class Reference

FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial FBMaterial
Inheritance diagram for FBMaterial:
Inheritance graph
[legend]

List of all members.


Detailed Description

Material class.

See samples: MaterialAndTexture.py, TextureAnimation.py.


Public Member Functions

  FBMaterial (str pName)
  Constructor.
FBMaterial  Clone ()
  Clone the material.
FBTexture  GetTexture (FBMaterialTextureType p0=kFBMaterialTextureDiffuse)
  Retrieve associated texture.
  OGLInit ()
  Setup OpenGL fixed pipeline material settings.
  SetTexture (FBTexture pTexture, FBMaterialTextureType pType=kFBMaterialTextureDiffuse)
  Set associated texture.

Public Attributes

FBAnimatableColor  Ambient
  Read Write Property: Ambient color.
FBAnimatableDouble  AmbientFactor
  Read Write Property: Ambient Factor value.
FBAnimatableColor  Bump
  Read Write Property: Bump.
FBAnimatableDouble  BumpFactor
  Read Write Property: Bump Factor value.
FBAnimatableColor  Diffuse
  Read Write Property: Diffuse color.
FBAnimatableDouble  DiffuseFactor
  Read Write Property: Diffuse Factor value.
FBAnimatableColor  DisplacementColor
  Read Write Property: Displacement color.
FBAnimatableDouble  DisplacementFactor
  Read Write Property: Displacement Factor value.
FBAnimatableColor  Emissive
  Read Write Property: Emissive color.
FBAnimatableDouble  EmissiveFactor
  Read Write Property: Emissive Factor value.
FBAnimatableColor  NormalMap
  Read Write Property: Normal Map.
FBAnimatableColor  Reflection
  Read Write Property: Reflection color.
FBAnimatableDouble  ReflectionFactor
  Read Write Property: Reflection Factor value.
FBAnimatableDouble  Shininess
  Read Write Property: Shininess value.
FBAnimatableColor  Specular
  Read Write Property: Specular color.
FBAnimatableDouble  SpecularFactor
  Read Write Property: Specular Factor value.
FBAnimatableDouble  TransparencyFactor
  Read Write Property: Transparency Factor value.
FBAnimatableColor  TransparentColor
  Read Write Property: Transparent color.

Constructor & Destructor Documentation

FBMaterial ( str  pName  ) 

Constructor.

Parameters:
pName  Name of material.

Member Function Documentation

FBMaterial Clone (  ) 

Clone the material.

This will duplicated the current material.

Returns:
Newly created material.

FBTexture GetTexture ( FBMaterialTextureType  p0 = kFBMaterialTextureDiffuse  ) 

Retrieve associated texture.

Parameters:
p0  MaterialTextureType to get connected texture from (default is Diffuse is not specified).

OGLInit (  ) 

Setup OpenGL fixed pipeline material settings.

SetTexture ( FBTexture  pTexture,
FBMaterialTextureType  pType = kFBMaterialTextureDiffuse  
)

Set associated texture.

Parameters:
pTexture  texture to be connected.
pType  MaterialTextureType to set connected texture to.

Member Data Documentation

FBAnimatableColor Ambient

Read Write Property: Ambient color.

FBAnimatableDouble AmbientFactor

Read Write Property: Ambient Factor value.

FBAnimatableColor Bump

Read Write Property: Bump.

FBAnimatableDouble BumpFactor

Read Write Property: Bump Factor value.

FBAnimatableColor Diffuse

Read Write Property: Diffuse color.

FBAnimatableDouble DiffuseFactor

Read Write Property: Diffuse Factor value.

FBAnimatableColor DisplacementColor

Read Write Property: Displacement color.

FBAnimatableDouble DisplacementFactor

Read Write Property: Displacement Factor value.

FBAnimatableColor Emissive

Read Write Property: Emissive color.

FBAnimatableDouble EmissiveFactor

Read Write Property: Emissive Factor value.

FBAnimatableColor NormalMap

Read Write Property: Normal Map.

FBAnimatableColor Reflection

Read Write Property: Reflection color.

FBAnimatableDouble ReflectionFactor

Read Write Property: Reflection Factor value.

FBAnimatableDouble Shininess

Read Write Property: Shininess value.

FBAnimatableColor Specular

Read Write Property: Specular color.

FBAnimatableDouble SpecularFactor

Read Write Property: Specular Factor value.

FBAnimatableDouble TransparencyFactor

Read Write Property: Transparency Factor value.

FBAnimatableColor TransparentColor

Read Write Property: Transparent color.


Generated on Tue Feb 9 19:34:26 2010 for Python Reference Guide by  doxygen 1.5.3