unreal.AISenseConfig_Sight

class unreal.AISenseConfig_Sight(outer=None, name='None')

Bases: unreal.AISenseConfig

AISense Config Sight

C++ Source:

  • Module: AIModule

  • File: AISenseConfig_Sight.h

Editor Properties: (see get_editor_property/set_editor_property)

  • auto_success_range_from_last_seen_location (float): [Read-Write] If not an InvalidRange (which is the default), we will always be able to see the target that has already been seen if they are within this range of their last seen location.

  • debug_color (Color): [Read-Write] Debug Color

  • detection_by_affiliation (AISenseAffiliationFilter): [Read-Write] Detection by Affiliation

  • implementation (type(Class)): [Read-Write] Implementation

  • lose_sight_radius (float): [Read-Write] Maximum sight distance to see target that has been already seen.

  • max_age (float): [Read-Write] specifies age limit after stimuli generated by this sense become forgotten. 0 means “never”

  • near_clipping_radius (float): [Read-Write] Near clipping distance, to be used with point of view backward offset. Will act as a close by awareness and peripheral vision

  • peripheral_vision_angle_degrees (float): [Read-Write] How far to the side AI can see, in degrees. Use SetPeripheralVisionAngle to change the value at runtime.

    The value represents the angle measured in relation to the forward vector, not the whole range.

  • point_of_view_backward_offset (float): [Read-Write] Point of view move back distance for cone calculation. In conjunction with near clipping distance, this will act as a close by awareness and peripheral vision.

  • sight_radius (float): [Read-Write] Maximum sight distance to notice a target.

  • starts_enabled (bool): [Read-Write] determines whether given sense starts in an enabled state

property auto_success_range_from_last_seen_location

[Read-Only] If not an InvalidRange (which is the default), we will always be able to see the target that has already been seen if they are within this range of their last seen location.

Type

(float)

property detection_by_affiliation

[Read-Only] Detection by Affiliation

Type

(AISenseAffiliationFilter)

property implementation

[Read-Only] Implementation

Type

(type(Class))

property lose_sight_radius

[Read-Only] Maximum sight distance to see target that has been already seen.

Type

(float)

property near_clipping_radius

[Read-Only] Near clipping distance, to be used with point of view backward offset. Will act as a close by awareness and peripheral vision

Type

(float)

property peripheral_vision_angle_degrees

[Read-Only] How far to the side AI can see, in degrees. Use SetPeripheralVisionAngle to change the value at runtime. The value represents the angle measured in relation to the forward vector, not the whole range.

Type

(float)

property point_of_view_backward_offset

[Read-Only] Point of view move back distance for cone calculation. In conjunction with near clipping distance, this will act as a close by awareness and peripheral vision.

Type

(float)

property sight_radius

[Read-Only] Maximum sight distance to notice a target.

Type

(float)