Skip to main content
Skip to main content

getShallowWaterSimulationOutputVelocityUTexture

getShallowWaterSimulationOutputVelocityUTexture

Description

Returns u (aka x) component of velocity output texture of the simulation, which defines the u component of velocity of the simulation at every point.

Definition

getShallowWaterSimulationOutputVelocityUTexture(entityId shallowWaterSimulation)

Arguments

entityIdshallowWaterSimulationsimulation/id of the shallow water sim to retrieve the texture from

Return Values

integertextureIdid of the velocity u texture