This reference page is linked to from the following overview topics: Your First Python Program, Scene Elements, FBModel - Transformation Data and the Scene Graph.
#include <fbmodel.h>
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. |
FBTexture | ( | char * | pName, |
HIObject | pObject =
NULL |
||
) |
Constructor.
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. |
virtual void FBDelete | ( | ) | [virtual] |
FBTexture* Clone | ( | ) |
Clone the texture.
This will duplicated the current texture.
Reimplemented in FBLayeredTexture.
void OGLInit | ( | HFBRenderOptions | pRenderOptions =
NULL |
) |
unsigned int GetTextureObject | ( | ) |
double* GetMatrix | ( | ) |
Read Write Property: Filename for texture.
Read Only Property: Width of texture.
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.
Read Write Property: Translation coordinates.
Read Write Property: Rotation coordinates.
Read Write Property: Scaling coordinates.
Read Write Property: Texture alpha value.
Read Write Property: Swap UV coordinates?
Read Write Property: X cropping.
Read Write Property: Y cropping.
FBPropertyVideo Video |
Read Write Property: Media used for texturing.
Read Write Property: A video is linked to a take, changing the take will change the connected video.