Class AIEntity
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AIEntity : MonoBehaviour
- Inheritance
-
AIEntity
Constructors
AIEntity()
Fields
Beacons
public List<AIEntityIFFBeacon> Beacons
Field Value
- List<AIEntityIFFBeacon>
DangerMultiplier
public float DangerMultiplier
Field Value
- float
public Transform FacingTransform
Field Value
- Transform
FakePos
Field Value
- Vector3
public Transform GroundTransform
Field Value
- Transform
IFFCode
Field Value
- int
IsPassiveEntity
public bool IsPassiveEntity
Field Value
- bool
IsVisualCheckOmni
public bool IsVisualCheckOmni
Field Value
- bool
LM_VisualOcclusionCheck
public LayerMask LM_VisualOcclusionCheck
Field Value
- LayerMask
ManagerCheckFrequency
public float ManagerCheckFrequency
Field Value
- float
MaxDistanceVisibleFrom
public float MaxDistanceVisibleFrom
Field Value
- float
MaxHearingDistance
public float MaxHearingDistance
Field Value
- float
MaximumSightFOV
public float MaximumSightFOV
Field Value
- float
MaximumSightRange
public float MaximumSightRange
Field Value
- float
PerceivesPassiveEntities
public bool PerceivesPassiveEntities
Field Value
- bool
ReceivesEvent_Damage
public bool ReceivesEvent_Damage
Field Value
- bool
ReceivesEvent_Sonic
public bool ReceivesEvent_Sonic
Field Value
- bool
ReceivesEvent_Visual
public bool ReceivesEvent_Visual
Field Value
- bool
Registers
Field Value
- bool
SensoryFrame
public Transform SensoryFrame
Field Value
- Transform
SetVel
Field Value
- Vector3
SightDistanceByFOVMultiplier
public AnimationCurve SightDistanceByFOVMultiplier
Field Value
- AnimationCurve
SonicThreshold
public float SonicThreshold
Field Value
- float
UsesFakedPosition
public bool UsesFakedPosition
Field Value
- bool
UsesSetVel
Field Value
- bool
VisibilityMultiplier
public float VisibilityMultiplier
Field Value
- float
Methods
GetGroundPos()
public Vector3 GetGroundPos()
Returns
- Vector3
GetPos()
Returns
- Vector3
GetThreatFacing()
public Vector3 GetThreatFacing()
Returns
- Vector3
GetVel()
Returns
- Vector3
OnAIEventReceive(AIEvent)
public void OnAIEventReceive(AIEvent e)
Parameters
e
AIEvent
OnAIReceiveSuppression(Vector3, Vector3, int, float, float)
public void OnAIReceiveSuppression(Vector3 pos, Vector3 dir, int iffcode, float intensity, float range)
Parameters
pos
Vector3
dir
Vector3
iffcode
int
intensity
float
range
float
OnDestroy()
ProcessLoudness(float)
public void ProcessLoudness(float loudness)
Parameters
loudness
float
public bool ReadyForManagerCheck()
Returns
- bool
ResetTick()
Start()
Tick(float)
public void Tick(float t)
Parameters
t
float
Events
AIEventReceiveEvent
public event AIEntity.AIEventReceive AIEventReceiveEvent
Event Type
- AIEntity.AIEventReceive
AIReceiveSuppressionEvent
public event AIEntity.AIReceiveSuppression AIReceiveSuppressionEvent
Event Type
- AIEntity.AIReceiveSuppression