Texture class.
Public Member Functions |
|
__init__ (str pName, object pObject=None) | |
Constructor. |
|
FBDelete () | |
Open Reality deletion function. |
|
FBTexture | Clone () |
Clone the texture. |
|
OGLInit (HFBRenderOptions pRenderOptions=None) | |
int | GetTextureObject () |
float | GetMatrix () |
Public Attributes |
|
FBPropertyString | Filename |
Read Write Property: Filename for
texture. |
|
FBPropertyBase | Width |
Read Only Property: Width of texture.
|
|
FBPropertyBase | 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. |
|
FBPropertyBaseAnimatable | Translation |
Read Write Property: Translation
coordinates. |
|
FBPropertyBaseAnimatable | Rotation |
Read Write Property: Rotation
coordinates. |
|
FBPropertyBaseAnimatable | Scaling |
Read Write Property: Scaling
coordinates. |
|
FBPropertyBaseAnimatable | Alpha |
Read Write Property: Texture alpha
value. |
|
FBPropertyBase | SwapUV |
Read Write Property: Swap UV
coordinates?. |
|
FBPropertyBase | CroppingX |
Read Write Property: X cropping.
|
|
FBPropertyBase | CroppingY |
Read Write Property: Y cropping.
|
|
FBPropertyVideo | Video |
Read Write Property: Media used for
texturing. |
|
FBPropertyBase | TakeBased |
Read Write Property: A video is
linked to a take, changing the take will change the connected
video. |
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. |
Reimplemented from FBBox.
Reimplemented in FBLayeredTexture.
FBDelete | ( | ) |
Open Reality deletion function.
Reimplemented from FBComponent.
Reimplemented in FBLayeredTexture.
FBTexture Clone | ( | ) |
Clone the texture.
This will duplicated the current texture.
Reimplemented in FBLayeredTexture.
OGLInit | ( | HFBRenderOptions | pRenderOptions =
None |
) |
int GetTextureObject | ( | ) |
float GetMatrix | ( | ) |
Read Write Property: Filename for texture.
FBPropertyBase Width |
Read Only Property: Width of texture.
FBPropertyBase 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.
FBPropertyBaseAnimatable Translation |
Read Write Property: Translation coordinates.
FBPropertyBaseAnimatable Rotation |
Read Write Property: Rotation coordinates.
FBPropertyBaseAnimatable Scaling |
Read Write Property: Scaling coordinates.
FBPropertyBaseAnimatable Alpha |
Read Write Property: Texture alpha value.
FBPropertyBase SwapUV |
Read Write Property: Swap UV coordinates?.
FBPropertyBase CroppingX |
Read Write Property: X cropping.
FBPropertyBase CroppingY |
Read Write Property: Y cropping.
FBPropertyVideo Video |
Read Write Property: Media used for texturing.
FBPropertyBase TakeBased |
Read Write Property: A video is linked to a take, changing the take will change the connected video.