Class TMovieTextureNode
Unit
X3DNodes
Declaration
type TMovieTextureNode = class(TAbstractX3DTexture2DNode, IAbstractSoundSourceNode, IAbstractUrlObject, IAbstractTimeDependentNode)
Description
Movie file, that can be played and displayed as a texture.
Hierarchy
Overview
Methods
Properties
Description
Methods
 |
procedure CreateNode; override; |
|
|
 |
destructor Destroy; override; |
|
|
 |
class function ClassX3DType: string; override; |
|
|
 |
class function URNMatching(const URN: string): boolean; override; |
|
|
 |
function TextureDescription: string; override; |
|
|
 |
function IsActive: boolean; |
|
|
 |
function IsPaused: boolean; |
|
|
 |
procedure SetUrl(const Value: array of string); |
|
|
Properties
 |
property FdDescription: TSFString read FFdDescription; |
|
|
 |
property FdLoop: TSFBool read FFdLoop; |
|
|
 |
property FdPauseTime: TSFTime read FFdPauseTime; |
|
|
 |
property FdResumeTime: TSFTime read FFdResumeTime; |
|
|
 |
property FdSpeed: TSFFloat read FFdSpeed; |
|
|
 |
property FdStartTime: TSFTime read FFdStartTime; |
|
|
 |
property FdStopTime: TSFTime read FFdStopTime; |
|
|
 |
property EventDuration_changed: TSFTimeEvent read FEventDuration_changed; |
|
|
 |
property EventElapsedTime: TSFTimeEvent read FEventElapsedTime; |
|
|
 |
property Duration: TFloatTime read FDuration; |
|
Duration for this time-dependent node. Duration is initialized from loaded video length (default is -1). So it's automatically initialized when you call IsTextureVideo, TextureVideo methods.
cycleInterval is just set to duration scaled by 1/Abs(speed), like required by X3D spec.
Duration (and so, also cycleInterval) is not reset when video is freed (like when you set IsTextureLoaded to False, maybe implicitly by calling TCastleSceneCore.FreeResources with frTextureDataInNodes). This way this is available even you freed the texture video data to save memory.
|
 |
property Description: string read GetDescription write SetDescription; |
|
|
 |
property Loop: boolean read GetLoop write SetLoop; |
|
|
 |
property PauseTime: TFloatTime read GetPauseTime write SetPauseTime; |
|
|
 |
property ResumeTime: TFloatTime read GetResumeTime write SetResumeTime; |
|
|
 |
property Speed: Single read GetSpeed write SetSpeed; |
|
|
 |
property StartTime: TFloatTime read GetStartTime write SetStartTime; |
|
|
 |
property StopTime: TFloatTime read GetStopTime write SetStopTime; |
|
|
Generated by PasDoc 0.15.0.
|