NoJobEngine 2.0.7
Loading...
Searching...
No Matches
NoJob::PerceptionComponent Struct Reference

#include <Components.h>

Public Attributes

bool Enabled = true
LayerMask DetectionMask = EntityLayers::All
float DetectionRadius = 10.0f
float FieldOfView = 120.0f
float EyeHeight = 1.6f
float MemoryDuration = 3.0f
float UpdateInterval = 0.1f
bool DebugDraw = true

Detailed Description

Definition at line 248 of file Components.h.

Member Data Documentation

◆ DebugDraw

bool NoJob::PerceptionComponent::DebugDraw = true

Definition at line 264 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ DetectionMask

LayerMask NoJob::PerceptionComponent::DetectionMask = EntityLayers::All

Definition at line 251 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ DetectionRadius

float NoJob::PerceptionComponent::DetectionRadius = 10.0f

Definition at line 253 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ Enabled

bool NoJob::PerceptionComponent::Enabled = true

Definition at line 250 of file Components.h.

Referenced by NoJob::SceneSerializer::Load(), and NoJob::SceneSerializer::Save().

◆ EyeHeight

float NoJob::PerceptionComponent::EyeHeight = 1.6f

Definition at line 257 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ FieldOfView

float NoJob::PerceptionComponent::FieldOfView = 120.0f

Definition at line 254 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ MemoryDuration

float NoJob::PerceptionComponent::MemoryDuration = 3.0f

Definition at line 259 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().

◆ UpdateInterval

float NoJob::PerceptionComponent::UpdateInterval = 0.1f

Definition at line 262 of file Components.h.

Referenced by NoJob::SceneSerializer::Load().


The documentation for this struct was generated from the following file: