TargetingLineOfSightModule

Inherits from TargetingModule<T>

Declaration

public sealed class TargetingLineOfSightModule : TargetingModule<TargetingLineOfSightSettings>

Description

A camera targeting module that performs line of sight checks to determine if targets are visible.

Properties

timeLastVisibleThe time the active target was last in sight (Read only).

Methods

IsVisibleDetermines if a transform is visible from the position of another transform.
Inherited

Properties

settingsThe settings for the behavior.
enabledEnables or disables the behavior from being updated.
controllerThe camera controller handling the module.
registeredWhether the module has been registered to a controller.
idThe unique identifier of the camera module.