Struct WaterSearchParameters
Structure that holds the input parameters of the search.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct WaterSearchParameters
Fields
error
Target error value at which the algorithm should stop.
Declaration
public float error
Field Value
Type | Description |
---|---|
float |
excludeSimulation
Specifies if the search should ignore the simulation.
Declaration
public bool excludeSimulation
Field Value
Type | Description |
---|---|
bool |
includeDeformation
Specifies if the search should include deformation.
Declaration
public bool includeDeformation
Field Value
Type | Description |
---|---|
bool |
maxIterations
Number of iterations of the search algorithm.
Declaration
public int maxIterations
Field Value
Type | Description |
---|---|
int |
outputNormal
Specifies if the search should compute the normal of the water surface at the projected position.
Declaration
public bool outputNormal
Field Value
Type | Description |
---|---|
bool |
startPositionWS
World Space Position that the search starts from. Can be used as a hint for the search algorithm.
Declaration
public float3 startPositionWS
Field Value
Type | Description |
---|---|
float3 |
targetPositionWS
Target position in world space that the search needs to evaluate the height at.
Declaration
public float3 targetPositionWS
Field Value
Type | Description |
---|---|
float3 |