FBTexture Class Reference


Detailed Description

Inheritance diagram for FBTexture:
Inheritance graph
[legend]

List of all members.

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.

Member Function Documentation

__init__ ( str  pName,
object  pObject = None 
)

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.
Examples
Tasks/DeleteUnusedMedia.py, Samples/VideoInput/VideoInput.py, Samples/MaterialAndTexture/MaterialAndTexture.py, Samples/MaterialAndTexture/TextureAnimation.py

Reimplemented from FBBox.

Reimplemented in FBLayeredTexture.

FBDelete ( )

Open Reality deletion function.

Examples
Tasks/DeleteHierarchy.py

Reimplemented from FBComponent.

Reimplemented in FBLayeredTexture.

FBTexture Clone ( )

Clone the texture.

This will duplicated the current texture.

Returns:
Newly created texture.

Reimplemented in FBLayeredTexture.

OGLInit ( HFBRenderOptions  pRenderOptions = None )
int GetTextureObject ( )

Member Data Documentation

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.


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