Class TSkinnedMeshJoint

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TSkinnedMeshJoint = class(TWrapper)

Description

A single joint inside a TSkinnedMesh.

Hierarchy

Overview

Methods

Public constructor Create(NRef: Pointer); overload;
Public constructor Create; overload;
Public destructor Destroy; override;
Public function GetChild(Index: LongWord): TSkinnedMeshJoint; inline;
Public procedure AddChild(Child: TSkinnedMeshJoint); inline;
Public procedure AddPositionKey(const Key: TSkinnedMeshPositionKey); inline;
Public procedure AddRotationKey(const Key: TSkinnedMeshRotationKey); inline;
Public procedure AddScaleKey(const Key: TSkinnedMeshScaleKey); inline;
Public procedure AddWeight(const Key: TSkinnedMeshWeight); inline;

Properties

Public property AnimatedPosition: TVector3D read GetAnimatedPosition write SetAnimatedPosition;
Public property AnimatedRotation: TQuaternion read GetAnimatedRotation write SetAnimatedRotation;
Public property AnimatedScale: TVector3D read GetAnimatedScale write SetAnimatedScale;
Public property AttachedMeshCount: LongWord read GetAttachedMeshCount;
Public property AttachedMeshes[Index: LongWord]: LongWord read GetAttachedMesh;
Public property ChildCount: LongWord read GetChildCount;
Public property GlobalAnimatedMatrix: TMatrix4 read GetGlobalAnimatedMatrix write SetGlobalAnimatedMatrix;
Public property GlobalInvertedMatrix: TMatrix4 read GetGlobalInvertedMatrix write SetGlobalInvertedMatrix;
Public property GlobalMatrix: TMatrix4 read GetGlobalMatrix write SetGlobalMatrix;
Public property LocalAnimatedMatrix: TMatrix4 read GetLocalAnimatedMatrix write SetLocalAnimatedMatrix;
Public property LocalMatrix: TMatrix4 read GetLocalMatrix write SetLocalMatrix;
Public property Name: AnsiString read GetName write SetName;
Public property PositionKeyCount: LongWord read GetPositionKeyCount;
Public property PositionKeys[Index: LongWord]: TSkinnedMeshPositionKey read GetPositionKey;
Public property RotationKeyCount: LongWord read GetRotationKeyCount;
Public property RotationKeys[Index: LongWord]: TSkinnedMeshRotationKey read GetRotationKey;
Public property ScaleKeyCount: LongWord read GetScaleKeyCount;
Public property ScaleKeys[Index: LongWord]: TSkinnedMeshScaleKey read GetScaleKey;
Public property Weights[Index: LongWord]: TSkinnedMeshWeight read GetWeight;

Description

Methods

Public constructor Create(NRef: Pointer); overload;

Creates a joint wrapper from a pointer. Used internally;

Public constructor Create; overload;

Creates a new joint.

Public destructor Destroy; override;

Frees the created joint as long as the caller is not a wrapper object.

Public function GetChild(Index: LongWord): TSkinnedMeshJoint; inline;

Retruns a child joint based on its index.

Public procedure AddChild(Child: TSkinnedMeshJoint); inline;

Adds a existing joint as new child. The joint will be copied internally, so the passed instance may be destroyed safely afterwards.

Public procedure AddPositionKey(const Key: TSkinnedMeshPositionKey); inline;

Adds a new position key.

Public procedure AddRotationKey(const Key: TSkinnedMeshRotationKey); inline;

Adds a new rotation key.

Public procedure AddScaleKey(const Key: TSkinnedMeshScaleKey); inline;

Adds a new scale key.

Public procedure AddWeight(const Key: TSkinnedMeshWeight); inline;

Adds a new weight.

Properties

Public property AnimatedPosition: TVector3D read GetAnimatedPosition write SetAnimatedPosition;

Undocumented.

Public property AnimatedRotation: TQuaternion read GetAnimatedRotation write SetAnimatedRotation;

Undocumented.

Public property AnimatedScale: TVector3D read GetAnimatedScale write SetAnimatedScale;

Undocumented.

Public property AttachedMeshCount: LongWord read GetAttachedMeshCount;

The Number of attached meshes.

Public property AttachedMeshes[Index: LongWord]: LongWord read GetAttachedMesh;

Attached mesh indices. (?)

Public property ChildCount: LongWord read GetChildCount;

The number of child joints.

Public property GlobalAnimatedMatrix: TMatrix4 read GetGlobalAnimatedMatrix write SetGlobalAnimatedMatrix;

Undocumented.

Public property GlobalInvertedMatrix: TMatrix4 read GetGlobalInvertedMatrix write SetGlobalInvertedMatrix;

Undocumented.

Public property GlobalMatrix: TMatrix4 read GetGlobalMatrix write SetGlobalMatrix;

Undocumented.
Unnecessary for loaders, will be overwritten on finalize.

Public property LocalAnimatedMatrix: TMatrix4 read GetLocalAnimatedMatrix write SetLocalAnimatedMatrix;

Undocumented.

Public property LocalMatrix: TMatrix4 read GetLocalMatrix write SetLocalMatrix;

Local matrix of this joint. There is, however, no documentation about what this matrix is used for.

Public property Name: AnsiString read GetName write SetName;

This joint's name.

Public property PositionKeyCount: LongWord read GetPositionKeyCount;

Number of position keys.

Public property PositionKeys[Index: LongWord]: TSkinnedMeshPositionKey read GetPositionKey;

Animation keys causing translation change.

Public property RotationKeyCount: LongWord read GetRotationKeyCount;

Number of rotation keys.

Public property RotationKeys[Index: LongWord]: TSkinnedMeshRotationKey read GetRotationKey;

Animation keys causing rotation change.

Public property ScaleKeyCount: LongWord read GetScaleKeyCount;

Number of scale keys.

Public property ScaleKeys[Index: LongWord]: TSkinnedMeshScaleKey read GetScaleKey;

Animation keys causing scale change.

Public property Weights[Index: LongWord]: TSkinnedMeshWeight read GetWeight;

Skin weights.


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