WetnessController

class omni.avreality.rain.WetnessController

Controller for scene level wetness parameters

Methods

__init__(self, usd_context)

apply_global_porosity(self, porosity)

Apply porosity value to all porosity able shaders in the given context

apply_global_porosity_scale(self, porosity_scale)

Apply porosity scale value to all porosity able shaders in the given context

apply_global_water_accumulation(self, ...)

Apply water accumulation value to all accumulation able shaders in the given context

apply_global_water_accumulation_scale(self, ...)

Apply water accumulation scale value to all accumulation able shaders in the given context

apply_global_water_albedo(self, water_albedo)

Apply water albedo value to all accumulation able shaders in the given context

apply_global_water_transparency(self, ...)

Apply water transparency value to all accumulation able shaders in the given context

apply_global_wetness(self, wetness)

Apply wetness value to all wetness able shaders in the given context

apply_global_wetness_state(self, wetness_state)

Apply wetness state to all wetness able shaders in the given context

load_shaders_parameters(usd_context)

Load shaders parameters to the session layer so those are known to USD.

__init__(self: omni.avreality.rain._omni_avreality_rain.WetnessController, usd_context: omni::usd::UsdContext = None) None
apply_global_porosity(self: omni.avreality.rain._omni_avreality_rain.WetnessController, porosity: float) None

Apply porosity value to all porosity able shaders in the given context

apply_global_porosity_scale(self: omni.avreality.rain._omni_avreality_rain.WetnessController, porosity_scale: float) None

Apply porosity scale value to all porosity able shaders in the given context

apply_global_water_accumulation(self: omni.avreality.rain._omni_avreality_rain.WetnessController, water_accumulation: float) None

Apply water accumulation value to all accumulation able shaders in the given context

apply_global_water_accumulation_scale(self: omni.avreality.rain._omni_avreality_rain.WetnessController, water_accumulation_scale: float) None

Apply water accumulation scale value to all accumulation able shaders in the given context

apply_global_water_albedo(self: omni.avreality.rain._omni_avreality_rain.WetnessController, water_albedo: carb._carb.ColorRgb) None

Apply water albedo value to all accumulation able shaders in the given context

apply_global_water_transparency(self: omni.avreality.rain._omni_avreality_rain.WetnessController, water_transparency: float) None

Apply water transparency value to all accumulation able shaders in the given context

apply_global_wetness(self: omni.avreality.rain._omni_avreality_rain.WetnessController, wetness: float) None

Apply wetness value to all wetness able shaders in the given context

apply_global_wetness_state(self: omni.avreality.rain._omni_avreality_rain.WetnessController, wetness_state: bool) None

Apply wetness state to all wetness able shaders in the given context

static load_shaders_parameters(usd_context: omni::usd::UsdContext = None) None

Load shaders parameters to the session layer so those are known to USD.