unreal.AtmospherePrecomputeParameters

class unreal.AtmospherePrecomputeParameters(density_height=0.5, max_scattering_order=4, inscatter_altitude_sample_num=2)

Bases: unreal.StructBase

Structure storing Data for pre-computation

C++ Source:

  • Module: Engine
  • File: AtmosphericFogComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • density_height (float): [Read-Write] Rayleigh scattering density height scale, ranges from [0…1]
  • inscatter_altitude_sample_num (int32): [Read-Write] Number of different altitudes at which to sample inscatter color (size of 3D texture Z dimension)
  • max_scattering_order (int32): [Read-Write] Maximum scattering order
density_height

(float) – [Read-Only] Rayleigh scattering density height scale, ranges from [0…1]

inscatter_altitude_sample_num

(int32) – [Read-Only] Number of different altitudes at which to sample inscatter color (size of 3D texture Z dimension)

max_scattering_order

(int32) – [Read-Only] Maximum scattering order