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.
|
FBTexture Clone | ( | ) |
Clone the texture.
This will duplicated the current texture.
Reimplemented in FBLayeredTexture.
FBDelete | ( | ) |
Open Reality deletion function.
See sample: DeleteHierarchy.py.
Reimplemented from FBComponent.
Reimplemented in FBLayeredTexture.
OGLInit | ( | FBRenderOptions | pRenderOptions =
None |
) |
FBAnimatableDouble Alpha |
Read Write Property: Texture alpha value.
Read Write Property: Texture blend mode.
Read Write Property: Texture mapping.
FBAnimatableVector3d Rotation |
Read Write Property: Rotation coordinates.
FBAnimatableVector3d Scaling |
Read Write Property: Scaling coordinates.
FBAnimatableVector3d Translation |
Read Write Property: Translation coordinates.
Read Write Property: Texture Use Type.