Public Member Functions
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 RAIN.Core.RAINComponent RAIN.Ontology.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

ActivateEntity marks the Entity as detectable.

DeactivateEntity marks the Entity as not detectable.

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.

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.