C# Class CryEngine.Attachment

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

Private Properties

Property Type Description
Attachment System
TryAdd Attachment

Public Methods

Method 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

Protected Methods

Method Description
Attachment ( ) : System

Private Methods

Method Description
Attachment ( IntPtr ptr ) : System
TryAdd ( IntPtr ptr ) : Attachment

Method Details

Attachment() protected method

protected Attachment ( ) : System
return System

ClearBinding() public method

public ClearBinding ( ) : void
return void

SwitchToEntityObject() public method

public SwitchToEntityObject ( CryEngine.EntityId entityId ) : void
entityId CryEngine.EntityId
return void

SwitchToLightObject() public method

public SwitchToLightObject ( CryEngine.LightParams &lightParams ) : void
lightParams CryEngine.LightParams
return void

SwitchToParticleEffectObject() public method

public SwitchToParticleEffectObject ( ParticleEffect effect, Vec3 offset, Vec3 dir, float scale ) : void
effect ParticleEffect
offset Vec3
dir Vec3
scale float
return void

SwitchToStaticObject() public method

public SwitchToStaticObject ( string cgfModel, Material material = null ) : void
cgfModel string
material Material
return void