Class TBGLCustomSprite
Unit
Declaration
type TBGLCustomSprite = class(TObject)
Description
Abstract class for a sprite with OpenGL
Hierarchy
- TObject
- TBGLCustomSprite
Overview
Fields
FFrameLoopEnd: integer; |
|
FFrameLoopStart: integer; |
|
FHandle: Pointer; |
|
FTexture: IBGLTexture; |
Methods
constructor Create(ATexture: IBGLTexture; ALayer: integer); |
|
destructor Destroy; override; |
|
function GetActualFrame: Single; virtual; abstract; |
|
function GetAlpha: Integer; virtual; abstract; |
|
function GetAngle: Single; virtual; abstract; |
|
function GetColor: TBGRAPixel; virtual; abstract; |
|
function GetFrame: Single; |
|
function GetH: Single; virtual; abstract; |
|
function GetHandle: Pointer; virtual; |
|
function GetHorizontalAlign: TAlignment; virtual; abstract; |
|
function GetLayer: Integer; virtual; abstract; |
|
function GetLocation: TPointF; virtual; |
|
function GetTexture: IBGLTexture; virtual; |
|
function GetVerticalAlign: TTextLayout; virtual; abstract; |
|
function GetVisible: Boolean; virtual; |
|
function GetW: Single; virtual; abstract; |
|
function GetX: Single; virtual; abstract; |
|
function GetY: Single; virtual; abstract; |
|
procedure OnDraw; virtual; |
|
procedure OnElapse(AElapsedMs: integer); virtual; |
|
procedure OnTimer; virtual; |
|
procedure QueryDestroy; virtual; abstract; |
|
procedure CreateHandle(ATexture: IBGLTexture; ALayer: Integer); virtual; |
|
procedure OnInit; virtual; |
|
procedure SetActualFrame(AValue: Single); virtual; abstract; |
|
procedure SetAlpha(AValue: Integer); virtual; abstract; |
|
procedure SetAngle(AValue: Single); virtual; abstract; |
|
procedure SetColor(AValue: TBGRAPixel); virtual; abstract; |
|
procedure SetFrame(AValue: Single); |
|
procedure SetFrameLoopEnd(AValue: integer); |
|
procedure SetFrameLoopStart(AValue: integer); |
|
procedure SetH(AValue: Single); virtual; abstract; |
|
procedure SetHorizontalAlign(AValue: TAlignment); virtual; abstract; |
|
procedure SetLayer(AValue: Integer); virtual; abstract; |
|
procedure SetLocation(AValue: TPointF); virtual; |
|
procedure SetVerticalAlign(AValue: TTextLayout); virtual; abstract; |
|
procedure SetVisible(AValue: boolean); virtual; |
|
procedure SetW(AValue: Single); virtual; abstract; |
|
procedure SetX(AValue: Single); virtual; abstract; |
|
procedure SetY(AValue: Single); virtual; abstract; |
Properties
property Alpha : Integer read GetAlpha write SetAlpha; |
|
property Angle : Single read GetAngle write SetAngle; |
|
property Color : TBGRAPixel read GetColor write SetColor; |
|
property Frame : Single read GetFrame write SetFrame; |
|
property FrameLoopEnd : integer read FFrameLoopEnd write SetFrameLoopEnd; |
|
property FrameLoopStart : integer read FFrameLoopStart write SetFrameLoopStart; |
|
property H : Single read GetH write SetH; |
|
property Handle : Pointer read GetHandle; |
|
property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign; |
|
property Layer : Integer read GetLayer write SetLayer; |
|
property Location: TPointF read GetLocation write SetLocation; |
|
property Texture : IBGLTexture read GetTexture; |
|
property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign; |
|
property Visible : Boolean read GetVisible write SetVisible; |
|
property W : Single read GetW write SetW; |
|
property X : Single read GetX write SetX; |
|
property Y : Single read GetY write SetY; |
Description
Fields
FFrameLoopEnd: integer; |
|
This item has no description. |
FFrameLoopStart: integer; |
|
This item has no description. |
FHandle: Pointer; |
|
This item has no description. |
FTexture: IBGLTexture; |
|
This item has no description. |
Methods
constructor Create(ATexture: IBGLTexture; ALayer: integer); |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function GetActualFrame: Single; virtual; abstract; |
|
This item has no description. |
function GetAlpha: Integer; virtual; abstract; |
|
This item has no description. |
function GetAngle: Single; virtual; abstract; |
|
This item has no description. |
function GetColor: TBGRAPixel; virtual; abstract; |
|
This item has no description. |
function GetFrame: Single; |
|
This item has no description. |
function GetH: Single; virtual; abstract; |
|
This item has no description. |
function GetHandle: Pointer; virtual; |
|
This item has no description. |
function GetHorizontalAlign: TAlignment; virtual; abstract; |
|
This item has no description. |
function GetLayer: Integer; virtual; abstract; |
|
This item has no description. |
function GetLocation: TPointF; virtual; |
|
This item has no description. |
function GetTexture: IBGLTexture; virtual; |
|
This item has no description. |
function GetVerticalAlign: TTextLayout; virtual; abstract; |
|
This item has no description. |
function GetVisible: Boolean; virtual; |
|
This item has no description. |
function GetW: Single; virtual; abstract; |
|
This item has no description. |
function GetX: Single; virtual; abstract; |
|
This item has no description. |
function GetY: Single; virtual; abstract; |
|
This item has no description. |
procedure OnDraw; virtual; |
|
This item has no description. |
procedure OnElapse(AElapsedMs: integer); virtual; |
|
This item has no description. |
procedure OnTimer; virtual; |
|
This item has no description. |
procedure QueryDestroy; virtual; abstract; |
|
This item has no description. |
procedure CreateHandle(ATexture: IBGLTexture; ALayer: Integer); virtual; |
|
This item has no description. |
procedure OnInit; virtual; |
|
This item has no description. |
procedure SetActualFrame(AValue: Single); virtual; abstract; |
|
This item has no description. |
procedure SetAlpha(AValue: Integer); virtual; abstract; |
|
This item has no description. |
procedure SetAngle(AValue: Single); virtual; abstract; |
|
This item has no description. |
procedure SetColor(AValue: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure SetFrame(AValue: Single); |
|
This item has no description. |
procedure SetFrameLoopEnd(AValue: integer); |
|
This item has no description. |
procedure SetFrameLoopStart(AValue: integer); |
|
This item has no description. |
procedure SetH(AValue: Single); virtual; abstract; |
|
This item has no description. |
procedure SetHorizontalAlign(AValue: TAlignment); virtual; abstract; |
|
This item has no description. |
procedure SetLayer(AValue: Integer); virtual; abstract; |
|
This item has no description. |
procedure SetLocation(AValue: TPointF); virtual; |
|
This item has no description. |
procedure SetVerticalAlign(AValue: TTextLayout); virtual; abstract; |
|
This item has no description. |
procedure SetVisible(AValue: boolean); virtual; |
|
This item has no description. |
procedure SetW(AValue: Single); virtual; abstract; |
|
This item has no description. |
procedure SetX(AValue: Single); virtual; abstract; |
|
This item has no description. |
procedure SetY(AValue: Single); virtual; abstract; |
|
This item has no description. |
Properties
property Alpha : Integer read GetAlpha write SetAlpha; |
|
This item has no description. |
property Angle : Single read GetAngle write SetAngle; |
|
This item has no description. |
property Color : TBGRAPixel read GetColor write SetColor; |
|
This item has no description. |
property Frame : Single read GetFrame write SetFrame; |
|
This item has no description. |
property FrameLoopEnd : integer read FFrameLoopEnd write SetFrameLoopEnd; |
|
This item has no description. |
property FrameLoopStart : integer read FFrameLoopStart write SetFrameLoopStart; |
|
This item has no description. |
property H : Single read GetH write SetH; |
|
This item has no description. |
property Handle : Pointer read GetHandle; |
|
This item has no description. |
property HorizontalAlign: TAlignment read GetHorizontalAlign write SetHorizontalAlign; |
|
This item has no description. |
property Layer : Integer read GetLayer write SetLayer; |
|
This item has no description. |
property Location: TPointF read GetLocation write SetLocation; |
|
This item has no description. |
property Texture : IBGLTexture read GetTexture; |
|
This item has no description. |
property VerticalAlign: TTextLayout read GetVerticalAlign write SetVerticalAlign; |
|
This item has no description. |
property Visible : Boolean read GetVisible write SetVisible; |
|
This item has no description. |
property W : Single read GetW write SetW; |
|
This item has no description. |
property X : Single read GetX write SetX; |
|
This item has no description. |
property Y : Single read GetY write SetY; |
|
This item has no description. |