unreal.ShallowWaterSubsystem¶
- class unreal.ShallowWaterSubsystem(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
TickableWorldSubsystemShallow Water Subsystem
C++ Source:
Plugin: WaterAdvanced
Module: WaterAdvanced
File: ShallowWaterSubsystem.h
Editor Properties: (see get_editor_property/set_editor_property)
mpc(MaterialParameterCollection): [Read-Only]normal_rt(TextureRenderTarget2D): [Read-Only]settings(ShallowWaterSettings): [Read-Only]shallow_water_niagara_simulation(NiagaraComponent): [Read-Only] Asset can be set in Project Settings - Plugins - Water ShallowWaterSimulationwater_info_texture(TextureRenderTarget2DArray): [Read-Only]
- add_collision_agent(collision_tracker_actor: Actor, max_lifespan: float = 60.0) None¶
deprecated: ‘add_collision_agent’ was renamed to ‘add_collision_tracker_for_actor’.
- get_all_overlapping_water_bodies_and_update_collision_trackers() Set[WaterBody]¶
WaterBody is used for:
Get water data texture
Get water zone
Get character location projected onto water surface
Check if character or vehicle is ‘in water’
- property mpc: MaterialParameterCollection¶
[Read-Only]
- Type:
- property normal_rt: TextureRenderTarget2D¶
[Read-Only]
- Type:
- remove_collision_agent_for_actor(collision_tracker_actor: Actor) None¶
deprecated: ‘remove_collision_agent_for_actor’ was renamed to ‘remove_collision_tracker_for_actor’.
- remove_collision_tracker_for_actor(collision_tracker_actor) None¶
Remove Collision Tracker for Actor
- Parameters:
collision_tracker_actor (Actor)
- set_water_body_mid_parameters(water_body) None¶
Manually set MID parameters for water bodies before they collide with any pawns or CollisionTrackers
- Parameters:
water_body (WaterBody)
- property settings: ShallowWaterSettings¶
[Read-Only]
- Type:
- property shallow_water_niagara_simulation: NiagaraComponent¶
[Read-Only] Asset can be set in Project Settings - Plugins - Water ShallowWaterSimulation
- Type:
- property water_info_texture: TextureRenderTarget2DArray¶
[Read-Only]
- Type: