C# Class idTech4.Game.Entities.idActor

Inheritance: idAFEntity_Gibbable
Datei anzeigen Open project: iainmckay/idtech4.net

Protected Properties

Property Type Description
_eyeOffset Vector3
_fovDot float
_modelOffset Vector3
_viewAxis Matrix

Public Methods

Method Description
ConstructScriptObject ( ) : idThread
Damage ( idEntity inflictor, idEntity attacker, Vector3 direction, string damageDefName, float damageScale, int location ) : void
GetAASLocation ( object aas, Vector3 position, int &areaNum ) : void
GetAIAimTargets ( Vector3 lastSightPosition, Vector3 &headPosition, Vector3 chestPosition ) : void

Gets positions for the AI to aim at.

GetPhysicsToSoundTransform ( Vector3 &origin, Matrix &axis ) : bool
GetPhysicsToVisualTransform ( Vector3 &origin, Matrix &axis ) : bool
GetViewPosition ( Vector3 &origin, Matrix &axis ) : void
Hide ( ) : void
LinkCombat ( ) : void
LoadAF ( ) : bool
Pain ( idEntity inflictor, idEntity attacker, int damage, Vector3 direction, int location ) : bool
ProjectOverlay ( Microsoft origin, Microsoft direction, float size, string material ) : void
Restart ( ) : void
Restore ( object savefile ) : void
Save ( object savefile ) : void
Show ( ) : void
Spawn ( ) : void
SpawnGibs ( Vector3 direction, string damageDefName ) : void
Teleport ( Vector3 origin, idAngles angles, idEntity destination ) : void
UnlinkCombat ( ) : void
UpdateAnimationControllers ( ) : bool
idActor ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
FinishSetup ( ) : void

Method Details

ConstructScriptObject() public method

public ConstructScriptObject ( ) : idThread
return idThread

Damage() public method

public Damage ( idEntity inflictor, idEntity attacker, Vector3 direction, string damageDefName, float damageScale, int location ) : void
inflictor idEntity
attacker idEntity
direction Vector3
damageDefName string
damageScale float
location int
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetAASLocation() public method

public GetAASLocation ( object aas, Vector3 position, int &areaNum ) : void
aas object
position Vector3
areaNum int
return void

GetAIAimTargets() public method

Gets positions for the AI to aim at.
public GetAIAimTargets ( Vector3 lastSightPosition, Vector3 &headPosition, Vector3 chestPosition ) : void
lastSightPosition Vector3
headPosition Vector3
chestPosition Vector3
return void

GetPhysicsToSoundTransform() public method

public GetPhysicsToSoundTransform ( Vector3 &origin, Matrix &axis ) : bool
origin Vector3
axis Matrix
return bool

GetPhysicsToVisualTransform() public method

public GetPhysicsToVisualTransform ( Vector3 &origin, Matrix &axis ) : bool
origin Vector3
axis Matrix
return bool

GetViewPosition() public method

public GetViewPosition ( Vector3 &origin, Matrix &axis ) : void
origin Vector3
axis Matrix
return void

Hide() public method

public Hide ( ) : void
return void

LinkCombat() public method

public LinkCombat ( ) : void
return void

LoadAF() public method

public LoadAF ( ) : bool
return bool

Pain() public method

public Pain ( idEntity inflictor, idEntity attacker, int damage, Vector3 direction, int location ) : bool
inflictor idEntity
attacker idEntity
damage int
direction Vector3
location int
return bool

ProjectOverlay() public method

public ProjectOverlay ( Microsoft origin, Microsoft direction, float size, string material ) : void
origin Microsoft
direction Microsoft
size float
material string
return void

Restart() public method

public Restart ( ) : void
return void

Restore() public method

public Restore ( object savefile ) : void
savefile object
return void

Save() public method

public Save ( object savefile ) : void
savefile object
return void

Show() public method

public Show ( ) : void
return void

Spawn() public method

public Spawn ( ) : void
return void

SpawnGibs() public method

public SpawnGibs ( Vector3 direction, string damageDefName ) : void
direction Vector3
damageDefName string
return void

Teleport() public method

public Teleport ( Vector3 origin, idAngles angles, idEntity destination ) : void
origin Vector3
angles idTech4.Math.idAngles
destination idEntity
return void

UnlinkCombat() public method

public UnlinkCombat ( ) : void
return void

UpdateAnimationControllers() public method

public UpdateAnimationControllers ( ) : bool
return bool

idActor() public method

public idActor ( ) : System
return System

Property Details

_eyeOffset protected_oe property

protected Vector3 _eyeOffset
return Vector3

_fovDot protected_oe property

protected float _fovDot
return float

_modelOffset protected_oe property

protected Vector3 _modelOffset
return Vector3

_viewAxis protected_oe property

protected Matrix _viewAxis
return Matrix