C# Class CryEngine.Advanced.GameObject

Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
GameObject System
GameObject System
SetAspectProfile bool
TryGetExtension GameObjectExtension

Méthodes publiques

Méthode Description
AcquireExtension ( string name ) : GameObjectExtension

Forcefully get a pointer to an extension (may instantiate if needed)

ActivateExtension ( string name ) : bool

Turn an extension on

BindToNetwork ( BindToNetworkMode mode = BindToNetworkMode.Normal ) : bool
DeactivateExtension ( string name ) : void

Turn an extension off

EnablePhysicsEvent ( bool enable, EntityPhysicsEvents physicsEvent ) : void
Get ( EntityId id ) : GameObject
NotifyNetworkStateChange ( int aspect ) : void
QueryExtension ( string name ) : GameObjectExtension

Query extension. returns 0 if extension is not there.

ReleaseExtension ( string name ) : void

Release a previously acquired extension

WantsPhysicsEvent ( EntityPhysicsEvents physicsEvent ) : bool

Private Methods

Méthode Description
GameObject ( ) : System
GameObject ( IntPtr handle ) : System
SetAspectProfile ( EntityAspects aspect, ushort profile, bool fromNetwork = false ) : bool
TryGetExtension ( IntPtr handle ) : GameObjectExtension

Method Details

AcquireExtension() public méthode

Forcefully get a pointer to an extension (may instantiate if needed)
public AcquireExtension ( string name ) : GameObjectExtension
name string
Résultat GameObjectExtension

ActivateExtension() public méthode

Turn an extension on
public ActivateExtension ( string name ) : bool
name string
Résultat bool

BindToNetwork() public méthode

public BindToNetwork ( BindToNetworkMode mode = BindToNetworkMode.Normal ) : bool
mode BindToNetworkMode
Résultat bool

DeactivateExtension() public méthode

Turn an extension off
public DeactivateExtension ( string name ) : void
name string
Résultat void

EnablePhysicsEvent() public méthode

public EnablePhysicsEvent ( bool enable, EntityPhysicsEvents physicsEvent ) : void
enable bool
physicsEvent EntityPhysicsEvents
Résultat void

Get() public static méthode

public static Get ( EntityId id ) : GameObject
id EntityId
Résultat GameObject

NotifyNetworkStateChange() public méthode

public NotifyNetworkStateChange ( int aspect ) : void
aspect int
Résultat void

QueryExtension() public méthode

Query extension. returns 0 if extension is not there.
public QueryExtension ( string name ) : GameObjectExtension
name string
Résultat GameObjectExtension

ReleaseExtension() public méthode

Release a previously acquired extension
public ReleaseExtension ( string name ) : void
name string
Résultat void

WantsPhysicsEvent() public méthode

public WantsPhysicsEvent ( EntityPhysicsEvents physicsEvent ) : bool
physicsEvent EntityPhysicsEvents
Résultat bool