Class TGLVideo3D

Unit

Declaration

type TGLVideo3D = class(TGLVideo)

Description

Video expressed as a series of textures, to play as texture on any 3D object.

Source: base_rendering/castleglimages_video.inc (line 71).

Hierarchy

Show Additional Members:

Overview

Methods

Public constructor Create(Video: TVideo);
Public function IndexFromTime(const Time: TFloatTime): Integer;
Public function Duration: Single;
Public constructor Create(Video: TVideo; const Filter: TTextureFilter; const Anisotropy: TGLfloat; const Wrap: TTextureWrap2D; const GUITexture: boolean);
Public destructor Destroy; override;
Public function GLTextureFromTime(const Time: TFloatTime): TGLTextureId;

Properties

Public property Count: Integer read FCount;
Public property FramesPerSecond: Single read FFramesPerSecond write FFramesPerSecond;
Public property TimeLoop: boolean read FTimeLoop write FTimeLoop;
Public property TimeBackwards: boolean read FTimeBackwards write FTimeBackwards;
Public property Width: Cardinal read FWidth;
Public property Height: Cardinal read FHeight;

Description

Methods

Public constructor Create(Video: TVideo);

This item is declared in ancestor TGLVideo.

Constructor that initializes video from TVideo class.

TVideo passed here must be already Loaded.

Note that this class doesn't descend or keep reference to TVideo instance. The idea is that after creating TGLVideo instance, you can often free original TVideo instance (if you care only about playing the movie). This can conserve memory greatly, as TVideo keeps all frames in the memory, and so is rather memory-costly. (Actually, TGLVideo itself may eat a lot of texture memory, so be careful with large videos anyway.)

Source: base_rendering/castleglimages_video.inc (line 47).

Public function IndexFromTime(const Time: TFloatTime): Integer;

This item is declared in ancestor TGLVideo.

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 50).

Public function Duration: Single;

This item is declared in ancestor TGLVideo.

Duration of the movie, in seconds. This is just the number of frames Count divided by FramesPerSecond.

Source: base_rendering/castleglimages_video.inc (line 64).

Public constructor Create(Video: TVideo; const Filter: TTextureFilter; const Anisotropy: TGLfloat; const Wrap: TTextureWrap2D; const GUITexture: boolean);

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 75).

Public destructor Destroy; override;

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 80).

Public function GLTextureFromTime(const Time: TFloatTime): TGLTextureId;

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 82).

Properties

Public property Count: Integer read FCount;

This item is declared in ancestor TGLVideo.

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 49).

Public property FramesPerSecond: Single read FFramesPerSecond write FFramesPerSecond;

This item is declared in ancestor TGLVideo.

See TVideo.FramesPerSecond.

Source: base_rendering/castleglimages_video.inc (line 53).

Public property TimeLoop: boolean read FTimeLoop write FTimeLoop;

This item is declared in ancestor TGLVideo.

See TVideo.TimeLoop.

Source: base_rendering/castleglimages_video.inc (line 56).

Public property TimeBackwards: boolean read FTimeBackwards write FTimeBackwards;

This item is declared in ancestor TGLVideo.

See TVideo.TimeBackwards.

Source: base_rendering/castleglimages_video.inc (line 59).

Public property Width: Cardinal read FWidth;

This item is declared in ancestor TGLVideo.

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 66).

Public property Height: Cardinal read FHeight;

This item is declared in ancestor TGLVideo.

This item has no description.

Source: base_rendering/castleglimages_video.inc (line 67).


Generated by PasDoc 0.17.0.snapshot.