Public Member Functions | Public Attributes

FBTexture Class Reference

This reference page is linked to from the following overview topics: Your First Python Program, Scene Elements, FBModel - Transformation Data and the Scene Graph.


Search for all occurrences

Detailed Description

Texture class.

Definition at line 858 of file fbmodel.h.

#include <fbmodel.h>

Inheritance diagram for FBTexture:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  FBTexture (char *pName, HIObject pObject=NULL)
  Constructor.
virtual void  FBDelete ()
  Open Reality deletion function.
FBTexture Clone ()
  Clone the texture.
void  OGLInit (HFBRenderOptions pRenderOptions=NULL)
unsigned int  GetTextureObject ()
double *  GetMatrix ()

Public Attributes

FBPropertyString  Filename
  Read Write Property: Filename for texture.
FBPropertyInt  Width
  Read Only Property: Width of texture.
FBPropertyInt  Height
  Read Only Property: Height of texture.
FBPropertyTextureUseType  UseType
  Read Write Property: Texture Use Type.
FBPropertyTextureMapping  Mapping
  Read Write Property: Texture mapping.
FBPropertyTextureBlendMode  BlendMode
  Read Write Property: Texture blend mode.
FBPropertyAnimatableVector3d  Translation
  Read Write Property: Translation coordinates.
FBPropertyAnimatableVector3d  Rotation
  Read Write Property: Rotation coordinates.
FBPropertyAnimatableVector3d  Scaling
  Read Write Property: Scaling coordinates.
FBPropertyAnimatableDouble  Alpha
  Read Write Property: Texture alpha value.
FBPropertyBool  SwapUV
  Read Write Property: Swap UV coordinates?
FBPropertyInt  CroppingX [2]
  Read Write Property: X cropping.
FBPropertyInt  CroppingY [2]
  Read Write Property: Y cropping.
FBPropertyVideo  Video
  Read Write Property: Media used for texturing.
FBPropertyBool  TakeBased
  Read Write Property: A video is linked to a take, changing the take will change the connected video.

Constructor & Destructor Documentation

FBTexture ( char *  pName,
HIObject  pObject = NULL 
)

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.
pObject For internal use only.

Member Function Documentation

virtual void FBDelete ( ) [virtual]

Open Reality deletion function.

Reimplemented from FBComponent.

Reimplemented in FBLayeredTexture.

FBTexture* Clone ( )

Clone the texture.

This will duplicated the current texture.

Returns:
Newly created texture.

Reimplemented in FBLayeredTexture.

void OGLInit ( HFBRenderOptions  pRenderOptions = NULL )
unsigned int GetTextureObject ( )
double* GetMatrix ( )

Member Data Documentation

Read Write Property: Filename for texture.

Definition at line 874 of file fbmodel.h.

Read Only Property: Width of texture.

Definition at line 875 of file fbmodel.h.

Read Only Property: Height of texture.

Definition at line 876 of file fbmodel.h.

FBPropertyTextureUseType UseType

Read Write Property: Texture Use Type.

Definition at line 878 of file fbmodel.h.

FBPropertyTextureMapping Mapping

Read Write Property: Texture mapping.

Definition at line 879 of file fbmodel.h.

FBPropertyTextureBlendMode BlendMode

Read Write Property: Texture blend mode.

Definition at line 880 of file fbmodel.h.

Read Write Property: Translation coordinates.

Definition at line 882 of file fbmodel.h.

Read Write Property: Rotation coordinates.

Definition at line 883 of file fbmodel.h.

Read Write Property: Scaling coordinates.

Definition at line 884 of file fbmodel.h.

Read Write Property: Texture alpha value.

Definition at line 885 of file fbmodel.h.

Read Write Property: Swap UV coordinates?

Definition at line 887 of file fbmodel.h.

Read Write Property: X cropping.

Definition at line 888 of file fbmodel.h.

Read Write Property: Y cropping.

Definition at line 889 of file fbmodel.h.

FBPropertyVideo Video

Read Write Property: Media used for texturing.

Definition at line 891 of file fbmodel.h.

Read Write Property: A video is linked to a take, changing the take will change the connected video.

Definition at line 893 of file fbmodel.h.


The documentation for this class was generated from the following file:

FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture
FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture FBTexture