VideoTexture

from panda3d.core import VideoTexture
class VideoTexture

Bases: Texture, AnimInterface

The base class for a family of animated Textures that take their input from a video source, such as a movie file. These Textures may be stopped, started, etc. using the AnimInterface controls, similar to an animated character.

Inheritance diagram

Inheritance diagram of VideoTexture

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getKeepRamImage()

C++ Interface: get_keep_ram_image(VideoTexture self)

/**
  • Returns the flag that indicates whether this Texture is eligible to have

  • its main RAM copy of the texture memory dumped when the texture is prepared

  • for rendering. See set_keep_ram_image().

*/

getVideoHeight()

C++ Interface: get_video_height(VideoTexture self)

/**
  • Returns the height in texels of the source video stream. This is not

  • necessarily the height of the actual texture, since the texture may have

  • been expanded to raise it to a power of 2.

*/

getVideoWidth()

C++ Interface: get_video_width(VideoTexture self)

/**
  • Returns the width in texels of the source video stream. This is not

  • necessarily the width of the actual texture, since the texture may have

  • been expanded to raise it to a power of 2.

*/

get_class_type()

C++ Interface: get_class_type()

get_keep_ram_image()

C++ Interface: get_keep_ram_image(VideoTexture self)

/**
  • Returns the flag that indicates whether this Texture is eligible to have

  • its main RAM copy of the texture memory dumped when the texture is prepared

  • for rendering. See set_keep_ram_image().

*/

get_video_height()

C++ Interface: get_video_height(VideoTexture self)

/**
  • Returns the height in texels of the source video stream. This is not

  • necessarily the height of the actual texture, since the texture may have

  • been expanded to raise it to a power of 2.

*/

get_video_width()

C++ Interface: get_video_width(VideoTexture self)

/**
  • Returns the width in texels of the source video stream. This is not

  • necessarily the width of the actual texture, since the texture may have

  • been expanded to raise it to a power of 2.

*/

upcastToAnimInterface()

C++ Interface: upcast_to_AnimInterface(const VideoTexture self)

upcast from VideoTexture to AnimInterface

upcastToTexture()

C++ Interface: upcast_to_Texture(const VideoTexture self)

upcast from VideoTexture to Texture

upcast_to_AnimInterface()

C++ Interface: upcast_to_AnimInterface(const VideoTexture self)

upcast from VideoTexture to AnimInterface

upcast_to_Texture()

C++ Interface: upcast_to_Texture(const VideoTexture self)

upcast from VideoTexture to Texture

video_height
video_width