KX_TextureRenderer(EXP_Value)

base class — EXP_Value

class KX_TextureRenderer(EXP_Value)

Python API for object doing a render stored in a texture.

autoUpdate

Choose to update automatically each frame the texture renderer or not.

Type

boolean

viewpointObject

The object where the texture renderer will render the scene.

Type

KX_GameObject

enabled

Enable the texture renderer to render the scene.

Type

boolean

ignoreLayers

The layers to ignore when rendering.

Type

bitfield

clipStart

The projection view matrix near plane, used for culling.

Type

float

clipEnd

The projection view matrix far plane, used for culling.

Type

float

lodDistanceFactor

The factor to multiply distance to camera to adjust levels of detail. A float < 1.0f will make the distance to camera used to compute levels of detail decrease.

Type

float

update()

Request to update this texture renderer during the rendering stage. This function is effective only when autoUpdate is disabled.