Skip to main content

add_water

Function add_water 

Source
pub fn add_water(
    p: &mut Project,
    parent: Option<NodeId>,
    name: &str,
    size_x: f32,
    size_z: f32,
    height: f32,
) -> (NodeId, MeshId, MaterialId)
Expand description

Create a translucent water surface node at world height height.