unreal.SubsurfaceProfileStruct

class unreal.SubsurfaceProfileStruct(scatter_radius=1.2, subsurface_color=[0.48, 0.41, 0.28, 1.0], falloff_color=[1.0, 0.37, 0.3, 1.0], boundary_color_bleed=[1.0, 1.0, 1.0, 1.0], extinction_scale=1.0, normal_scale=0.08, scattering_distribution=0.93, ior=1.55, roughness0=0.75, roughness1=1.3, lobe_mix=0.85)

Bases: unreal.StructBase

struct with all the settings we want in USubsurfaceProfile, separate to make it easer to pass this data around in the engine.

C++ Source:

  • Module: Engine
  • File: SubsurfaceProfile.h

Editor Properties: (see get_editor_property/set_editor_property)

  • boundary_color_bleed (LinearColor): [Read-Write] Boundary Color Bleed
  • extinction_scale (float): [Read-Write] Extinction Scale
  • falloff_color (LinearColor): [Read-Write] defines the per-channel falloff of the gradients produced by the subsurface scattering events, can be used to fine tune the color of the gradients (called “falloff” in SeparableSSS, default there: 1, 0.37, 0.3)
  • ior (float): [Read-Write] IOR
  • lobe_mix (float): [Read-Write] Lobe Mix
  • normal_scale (float): [Read-Write] Normal Scale
  • roughness0 (float): [Read-Write] Roughness 0
  • roughness1 (float): [Read-Write] Roughness 1
  • scatter_radius (float): [Read-Write] in world/unreal units (cm)
  • scattering_distribution (float): [Read-Write] Scattering Distribution
  • subsurface_color (LinearColor): [Read-Write] Specifies the how much of the diffuse light gets into the material, can be seen as a per-channel mix factor between the original image, and the SSS-filtered image (called “strength” in SeparableSSS, default there: 0.48, 0.41, 0.28)
boundary_color_bleed

(LinearColor) – [Read-Only] Boundary Color Bleed

extinction_scale

(float) – [Read-Only] Extinction Scale

falloff_color

(LinearColor) – [Read-Only] defines the per-channel falloff of the gradients produced by the subsurface scattering events, can be used to fine tune the color of the gradients (called “falloff” in SeparableSSS, default there: 1, 0.37, 0.3)

ior

(float) – [Read-Only] IOR

lobe_mix

(float) – [Read-Only] Lobe Mix

normal_scale

(float) – [Read-Only] Normal Scale

roughness0

(float) – [Read-Only] Roughness 0

roughness1

(float) – [Read-Only] Roughness 1

scatter_radius

(float) – [Read-Only] in world/unreal units (cm)

scattering_distribution

(float) – [Read-Only] Scattering Distribution

subsurface_color

(LinearColor) – [Read-Only] Specifies the how much of the diffuse light gets into the material, can be seen as a per-channel mix factor between the original image, and the SSS-filtered image (called “strength” in SeparableSSS, default there: 0.48, 0.41, 0.28)