Class TCastleLayerCollisions

Unit

Declaration

type TCastleLayerCollisions = class(TCastleComponent)

Description

No description available, ancestor TCastleComponent description follows

Component with various CGE extensions: can be a parent of other non-visual components (to display them in CGE editor and serialize them to files), can be translated, can have custom logic when serializing/deserializing (CustomSerialization).

Note that everywhere in CGE (in particular in editor and when serializing) we handle a standard Pascal TComponent as well. So there's no need to derive all your components from TCastleComponent, so you derive from standard TComponent too. You can use TCastleComponent only if necessary, i.e. only if you need one of the extra features in this class.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override;

Properties

Public property Collides[constLayer1,Layer2:TPhysicsLayer]: Boolean read GetCollides write SetCollides;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override;
 

Properties

Public property Collides[constLayer1,Layer2:TPhysicsLayer]: Boolean read GetCollides write SetCollides;

Do physical objects from indicated 2 layers collide with each other.


Generated by PasDoc 0.16.0.