Class TAnimatedMesh

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAnimatedMesh = class(TMesh)

Description

Interface for an animated mesh.

Hierarchy

Overview

Methods

Public function GetMesh(Frame: LongInt; DetailLevel: LongInt = 255; StartFrameLoop: LongInt = -1; EndFrameLoop: LongInt = -1): TMesh; inline;

Properties

Public property FrameCount: LongWord read GetFrameCount;
Public property MeshType: TAnimatedMeshType read GetMeshType;

Description

Methods

Public function GetMesh(Frame: LongInt; DetailLevel: LongInt = 255; StartFrameLoop: LongInt = -1; EndFrameLoop: LongInt = -1): TMesh; inline;

Returns the Mesh for a frame.

Parameters
Frame
Frame number as zero based index. The maximum frame number is FrameCount-1.
DetailLevel
Level of detail. 0 is the lowest, 255 the highest level of detail. Most meshes will ignore the detail level.
StartFrameLoop
Because some animated meshes (.MD2) are blended between 2 static frames, and maybe animated in a loop, the startFrameLoop and the endFrameLoop have to be defined, to prevent the animation to be blended between frames which are outside of this loop. If startFrameLoop and endFrameLoop are both -1, they are ignored.
EndFrameLoop
See StartFrameLoop.

Properties

Public property FrameCount: LongWord read GetFrameCount;

The amount of frames. If the amount is 1, it is a static, non animated mesh.

Public property MeshType: TAnimatedMeshType read GetMeshType;

The type of the animated mesh.


Generated by PasDoc 0.12.1 on 2012-09-14 17:32:22