unreal.RadialFalloff
¶
- class unreal.RadialFalloff(outer=None, name='None')¶
Bases:
unreal.FieldNodeFloat
Sphere scalar field that will be defined only within a sphere
C++ Source:
Module: FieldSystemEngine
File: FieldSystemObjects.h
Editor Properties: (see get_editor_property/set_editor_property)
asset_user_data
(Array(AssetUserData)): [Read-Write] Array of user data stored with the componentauto_activate
(bool): [Read-Write] Whether the component is activated at creation or must be explicitly activated.can_ever_affect_navigation
(bool): [Read-Write] Whether this component can potentially influence navigationcomponent_tags
(Array(Name)): [Read-Write] Array of tags that can be used for grouping and categorizing. Can also be accessed from scripting.default
(float): [Read-Write] The field value will be set to Default if the sample distance from the center is higher than the radiuseditable_when_inherited
(bool): [Read-Write] True if this component can be modified when it was inherited from a parent actor classfalloff
(FieldFalloffType): [Read-Write] Type of falloff function used to model the evolution of the field from the sphere center to the sample positionis_editor_only
(bool): [Read-Write] If true, the component will be excluded from non-editor buildsmagnitude
(float): [Read-Write] Magnitude of the sphere falloff fieldmax_range
(float): [Read-Write] The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitudemin_range
(float): [Read-Write] The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitudeon_component_activated
(ActorComponentActivatedSignature): [Read-Write] Called when the component has been activated, with parameter indicating if it was from a reseton_component_deactivated
(ActorComponentDeactivateSignature): [Read-Write] Called when the component has been deactivatedposition
(Vector): [Read-Write] Center position of the sphere falloff fieldprimary_component_tick
(ActorComponentTickFunction): [Read-Write] Main tick function for the Componentradius
(float): [Read-Write] Radius of the sphere falloff fieldreplicates
(bool): [Read-Write] Is this component currently replicating? Should the network code consider it for replication? Owning Actor must be replicating first!
- property default¶
[Read-Write] The field value will be set to Default if the sample distance from the center is higher than the radius
- Type
(float)
- property falloff¶
[Read-Write] Type of falloff function used to model the evolution of the field from the sphere center to the sample position
- Type
- property max_range¶
[Read-Write] The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude
- Type
(float)
- property min_range¶
[Read-Write] The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude
- Type
(float)
- set_radial_falloff(magnitude, min_range, max_range, default, radius, position, falloff) → RadialFalloff¶
Sphere scalar field that will be defined only within a sphere
- Parameters
magnitude (float) – Magnitude of the sphere falloff field
min_range (float) – The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude
max_range (float) – The initial function value between 0 and 1 will be scaled between MinRange and MaxRange before being multiplied by magnitude
default (float) – The field value will be set to Default if the sample distance from the center is higher than the radius
radius (float) – Radius of the sphere falloff field
position (Vector) – Center position of the sphere falloff field
falloff (FieldFalloffType) – Type of falloff function used if the falloff function is picked
- Returns
- Return type