unreal.AISenseConfig_Sight

class unreal.AISenseConfig_Sight(outer: Object | None = None, name: Name | str = 'None')

Bases: 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]

  • detection_by_affiliation (AISenseAffiliationFilter): [Read-Write]

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

  • 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: float

[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: AISenseAffiliationFilter

[Read-Only]

Type:

(AISenseAffiliationFilter)

property implementation: Class

[Read-Only]

Type:

(type(Class))

property lose_sight_radius: float

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

Type:

(float)

property near_clipping_radius: float

[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: float

[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: float

[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: float

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

Type:

(float)