C# Class CryEngine.Attachment

Represents a character attachment, obtained via CryEngine.EntityBase.GetAttachment(int, int) and CryEngine.EntityBase.GetAttachment(string, int).
Afficher le fichier Open project: PoppermostProductions/CryMono Class Usage Examples

Private Properties

Свойство Type Description
Attachment System
TryAdd Attachment

Méthodes publiques

Méthode Description
ClearBinding ( ) : void
SwitchToEntityObject ( CryEngine.EntityId entityId ) : void
SwitchToLightObject ( CryEngine.LightParams &lightParams ) : void
SwitchToParticleEffectObject ( ParticleEffect effect, Vec3 offset, Vec3 dir, float scale ) : void
SwitchToStaticObject ( string cgfModel, Material material = null ) : void

Méthodes protégées

Méthode Description
Attachment ( ) : System

Private Methods

Méthode Description
Attachment ( IntPtr ptr ) : System
TryAdd ( IntPtr ptr ) : Attachment

Method Details

Attachment() protected méthode

protected Attachment ( ) : System
Résultat System

ClearBinding() public méthode

public ClearBinding ( ) : void
Résultat void

SwitchToEntityObject() public méthode

public SwitchToEntityObject ( CryEngine.EntityId entityId ) : void
entityId CryEngine.EntityId
Résultat void

SwitchToLightObject() public méthode

public SwitchToLightObject ( CryEngine.LightParams &lightParams ) : void
lightParams CryEngine.LightParams
Résultat void

SwitchToParticleEffectObject() public méthode

public SwitchToParticleEffectObject ( ParticleEffect effect, Vec3 offset, Vec3 dir, float scale ) : void
effect ParticleEffect
offset Vec3
dir Vec3
scale float
Résultat void

SwitchToStaticObject() public méthode

public SwitchToStaticObject ( string cgfModel, Material material = null ) : void
cgfModel string
material Material
Résultat void