FBTexture Class Reference

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

List of all members.


Detailed Description

Texture class.

See samples: MaterialAndTexture.py, TextureAnimation.py, DeleteUnusedMedia.py.


Public Member Functions

  FBTexture (str pName)
  Constructor.
FBTexture  Clone ()
  Clone the texture.
  FBDelete ()
  Open Reality deletion function.
  OGLInit (FBRenderOptions pRenderOptions=None)

Public Attributes

FBAnimatableDouble  Alpha
  Read Write Property: Texture alpha value.
FBTextureBlendMode  BlendMode
  Read Write Property: Texture blend mode.
str  Filename
  Read Write Property: Filename for texture.
int  Height
  Read Only Property: Height of texture.
FBTextureMapping  Mapping
  Read Write Property: Texture mapping.
FBAnimatableVector3d  Rotation
  Read Write Property: Rotation coordinates.
FBAnimatableVector3d  Scaling
  Read Write Property: Scaling coordinates.
bool  SwapUV
  Read Write Property: Swap UV coordinates?
FBAnimatableVector3d  Translation
  Read Write Property: Translation coordinates.
FBTextureUseType  UseType
  Read Write Property: Texture Use Type.
FBVideo  Video
  Read Write Property: Media used for texturing.
int  Width
  Read Only Property: Width of texture.

Constructor & Destructor Documentation

FBTexture ( str  pName  ) 

Constructor.

Parameters:
pName  Name of texture media. Can be a NULL pointer. If set, this will create a FBVideo object used as the Video property.

Member Function Documentation

FBTexture Clone (  ) 

Clone the texture.

This will duplicated the current texture.

Returns:
Newly created texture.

Reimplemented in FBLayeredTexture.

FBDelete (  ) 

Open Reality deletion function.

See sample: DeleteHierarchy.py.

Reimplemented from FBComponent.

Reimplemented in FBLayeredTexture.

OGLInit ( FBRenderOptions  pRenderOptions = None  ) 

Member Data Documentation

FBAnimatableDouble Alpha

Read Write Property: Texture alpha value.

FBTextureBlendMode BlendMode

Read Write Property: Texture blend mode.

str Filename

Read Write Property: Filename for texture.

int Height

Read Only Property: Height of texture.

FBTextureMapping Mapping

Read Write Property: Texture mapping.

FBAnimatableVector3d Rotation

Read Write Property: Rotation coordinates.

FBAnimatableVector3d Scaling

Read Write Property: Scaling coordinates.

bool SwapUV

Read Write Property: Swap UV coordinates?

FBAnimatableVector3d Translation

Read Write Property: Translation coordinates.

FBTextureUseType UseType

Read Write Property: Texture Use Type.

FBVideo Video

Read Write Property: Media used for texturing.

int Width

Read Only Property: Width of texture.


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