RAIN.Ontology.Entity Class Reference

The Entity class is the primary component used to identify Describable objects to RAIN. More...

Inheritance diagram for RAIN.Ontology.Entity:
RAIN.Ontology.Describable Decorated

List of all members.

Public Member Functions

override Decoration[] GetDecorations ()
 GetDecorations finds only direct descendant Decorations, whether part of this game object or attached to a nested game object. Aspects that are part of a nested Describable will not be returned. If the Entity has been marked as not detectable by a DeactivateEntity call, GetDecorations will return null.
override Decoration[] GetAllDecorations ()
 GetAllDecorations searches the GameObject hierarchy downward (children only) to find all attached Decorations. If the Entity has been marked as not detectable by a DeactivateEntity call, GetDecorations will return null.
void DeactivateEntity ()
 DeactivateEntity marks the Entity as not detectable.
void ActivateEntity ()
 ActivateEntity marks the Entity as detectable.

Detailed Description

The Entity class is the primary component used to identify Describable objects to RAIN.


Member Function Documentation

void RAIN.Ontology.Entity.ActivateEntity ( )

ActivateEntity marks the Entity as detectable.

void RAIN.Ontology.Entity.DeactivateEntity ( )

DeactivateEntity marks the Entity as not detectable.

override Decoration [] RAIN.Ontology.Entity.GetAllDecorations ( ) [virtual]

GetAllDecorations searches the GameObject hierarchy downward (children only) to find all attached Decorations. If the Entity has been marked as not detectable by a DeactivateEntity call, GetDecorations will return null.

Returns:
Returns an array of Decorations from all descendants, or null if the Entity is not detectable<

Reimplemented from RAIN.Ontology.Describable.

override Decoration [] RAIN.Ontology.Entity.GetDecorations ( ) [virtual]

GetDecorations finds only direct descendant Decorations, whether part of this game object or attached to a nested game object. Aspects that are part of a nested Describable will not be returned. If the Entity has been marked as not detectable by a DeactivateEntity call, GetDecorations will return null.

Returns:
Returns an array of Decorations that are direct descendants, or null if the Entity is not detectable

Reimplemented from RAIN.Ontology.Describable.