Unit Castle3D

Description

Additional 3D objects derived from TCastleTransform (TAlive, T3DMoving...).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class T3DOrient  
Class T3DMoving 3D object moving and potentially pushing other 3D objects.
Class T3DLinearMoving 3D moving with constant speed between 2 points.
Class TAlive Alive, oriented 3D object.

Types

T3D = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DList = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DCustomTranslated = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DTranslated = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DCustomTransform = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DTransform = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';
T3DListCore = CastleTransform.TCastleTransformList;
T3DWorld = CastleTransform.TSceneManagerWorld;
TCollisionDetails = CastleTransform.TCollisionDetails;
TRayCollision = CastleTransform.TRayCollision;
TRayCollisionNode = CastleTransform.TRayCollisionNode;
PRayCollisionNode = CastleTransform.PRayCollisionNode;
TRemoveType = CastleTransform.TRemoveType;
TPrepareResourcesOption = CastleTransform.TPrepareResourcesOption;
TPrepareResourcesOptions = CastleTransform.TPrepareResourcesOptions;
TAbstractLightInstancesList = CastleTransform.TAbstractLightInstancesList;
TRenderFromViewFunction = CastleTransform.TRenderFromViewFunction;
TRenderingPass = CastleTransform.TRenderingPass;
TRenderParams = CastleTransform.TRenderParams;
TBaseShadowVolumeRenderer = CastleTransform.TBaseShadowVolumeRenderer;
TVisibleChange = CastleTransform.TVisibleChange;
TVisibleChanges = CastleTransform.TVisibleChanges;
TRenderStatistics = CastleTransform.TRenderStatistics;
TRigidBody = CastleTransform.TRigidBody;
TCollider = CastleTransform.TCollider;
TSphereCollider = CastleTransform.TSphereCollider;
TBoxCollider = CastleTransform.TBoxCollider;
TPlaneCollider = CastleTransform.TPlaneCollider;
T3DAlive = TAlive deprecated 'use TAlive';
T3DExistsEvent = function(const Item: T3D): boolean of object;

Constants

MaxSingle = Math.MaxSingle;
DefaultFallMinHeightToDamage = 5.0;
DefaultFallDamageScaleMin = 0.8;
DefaultFallDamageScaleMax = 1.2;
DefaultCreatureFallMinHeightToSound = 1.0;
DefaultPlayerFallMinHeightToSound = 4.0;
DefaultCreatureFallSoundName = 'creature_fall';
DefaultPlayerFallSoundName = 'player_fall';
vcVisibleGeometry = CastleTransform.vcVisibleGeometry;
vcVisibleNonGeometry = CastleTransform.vcVisibleNonGeometry;
prShadowVolume = CastleTransform.prShadowVolume;
prSpatial = CastleTransform.prSpatial;
prScreenEffects = CastleTransform.prScreenEffects;
prRender = CastleTransform.prRender;
prBackground = CastleTransform.prBackground;
prBoundingBox = CastleTransform.prBoundingBox;
rtNone = CastleTransform.rtNone;
rtRemove = CastleTransform.rtRemove;
rtRemoveAndFree = CastleTransform.rtRemoveAndFree;
otUpYDirectionMinusZ = CastleTransform.otUpYDirectionMinusZ;
otUpZDirectionMinusY = CastleTransform.otUpZDirectionMinusY;
otUpZDirectionX = CastleTransform.otUpZDirectionX;

Variables

RenderDebug3D: boolean = false deprecated 'use Player.RenderDebug, TCreature.RenderDebug, TItemOnWorld.RenderDebug' ;
RenderDebugCaptions: boolean = false deprecated 'use TCreature.RenderDebug' ;
LogShadowVolumes: boolean = false;

Description

Types

T3D = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DList = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DCustomTranslated = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DTranslated = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DCustomTransform = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DTransform = CastleTransform.TCastleTransform deprecated 'use TCastleTransform from CastleTransform unit';

Warning: this symbol is deprecated: use TCastleTransform from CastleTransform unit

 
T3DListCore = CastleTransform.TCastleTransformList;
 
T3DWorld = CastleTransform.TSceneManagerWorld;
 
TCollisionDetails = CastleTransform.TCollisionDetails;
 
TRayCollision = CastleTransform.TRayCollision;
 
TRayCollisionNode = CastleTransform.TRayCollisionNode;
 
PRayCollisionNode = CastleTransform.PRayCollisionNode;
 
TRemoveType = CastleTransform.TRemoveType;
 
TPrepareResourcesOption = CastleTransform.TPrepareResourcesOption;
 
TPrepareResourcesOptions = CastleTransform.TPrepareResourcesOptions;
 
TAbstractLightInstancesList = CastleTransform.TAbstractLightInstancesList;
 
TRenderFromViewFunction = CastleTransform.TRenderFromViewFunction;
 
TRenderingPass = CastleTransform.TRenderingPass;
 
TRenderParams = CastleTransform.TRenderParams;
 
TBaseShadowVolumeRenderer = CastleTransform.TBaseShadowVolumeRenderer;
 
TVisibleChange = CastleTransform.TVisibleChange;
 
TVisibleChanges = CastleTransform.TVisibleChanges;
 
TRenderStatistics = CastleTransform.TRenderStatistics;
 
TRigidBody = CastleTransform.TRigidBody;
 
TCollider = CastleTransform.TCollider;
 
TSphereCollider = CastleTransform.TSphereCollider;
 
TBoxCollider = CastleTransform.TBoxCollider;
 
TPlaneCollider = CastleTransform.TPlaneCollider;
 
T3DAlive = TAlive deprecated 'use TAlive';

Warning: this symbol is deprecated: use TAlive

 
T3DExistsEvent = function(const Item: T3D): boolean of object;
 

Constants

MaxSingle = Math.MaxSingle;
 
DefaultFallMinHeightToDamage = 5.0;

Default values common to TPlayer and TCreature classes.

Note that FallMinHeightToSound is usually better to be larger for player, to avoid making "fall" sound when player merely jumps or walks down a steep hill. No such need for creature.

DefaultFallDamageScaleMin = 0.8;
 
DefaultFallDamageScaleMax = 1.2;
 
DefaultCreatureFallMinHeightToSound = 1.0;
 
DefaultPlayerFallMinHeightToSound = 4.0;
 
DefaultCreatureFallSoundName = 'creature_fall';
 
DefaultPlayerFallSoundName = 'player_fall';
 
vcVisibleGeometry = CastleTransform.vcVisibleGeometry;
 
vcVisibleNonGeometry = CastleTransform.vcVisibleNonGeometry;
 
prShadowVolume = CastleTransform.prShadowVolume;
 
prSpatial = CastleTransform.prSpatial;
 
prScreenEffects = CastleTransform.prScreenEffects;
 
prRender = CastleTransform.prRender;
 
prBackground = CastleTransform.prBackground;
 
prBoundingBox = CastleTransform.prBoundingBox;
 
rtNone = CastleTransform.rtNone;
 
rtRemove = CastleTransform.rtRemove;
 
rtRemoveAndFree = CastleTransform.rtRemoveAndFree;
 
otUpYDirectionMinusZ = CastleTransform.otUpYDirectionMinusZ;
 
otUpZDirectionMinusY = CastleTransform.otUpZDirectionMinusY;
 
otUpZDirectionX = CastleTransform.otUpZDirectionX;
 

Variables

RenderDebug3D: boolean = false deprecated 'use Player.RenderDebug, TCreature.RenderDebug, TItemOnWorld.RenderDebug' ;

Warning: this symbol is deprecated: use Player.RenderDebug, TCreature.RenderDebug, TItemOnWorld.RenderDebug

Creatures, items and possibly other 3D stuff may look at these variables to display additional features of 3D objects, helpful to debug collisions, AI and other things.

RenderDebugCaptions: boolean = false deprecated 'use TCreature.RenderDebug' ;

Warning: this symbol is deprecated: use TCreature.RenderDebug

workaround for Lazarus <= 1.8.0: CodeTools cannot parse this

LogShadowVolumes: boolean = false;

Log shadow volume information.

Meaningful only if you initialized log (see CastleLog unit) by InitializeLog first.


Generated by PasDoc 0.15.0.