Struct WaterSearchResult
Structure that holds the output parameters of the search.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
public struct WaterSearchResult
Fields
candidateLocationWS
Location of the 3D world space point that has been displaced to the target positions
Declaration
public float3 candidateLocationWS
Field Value
Type | Description |
---|---|
float3 |
currentDirectionWS
Vector that gives the local current orientation (if any).
Declaration
public float3 currentDirectionWS
Field Value
Type | Description |
---|---|
float3 |
error
Horizontal error value of the search algorithm.
Declaration
public float error
Field Value
Type | Description |
---|---|
float |
numIterations
Number of iterations of the search algorithm to find the height value.
Declaration
public int numIterations
Field Value
Type | Description |
---|---|
int |
projectedPositionWS
Returns the world space position projected on the water surface along the up vector of the water surface.
Declaration
public float3 projectedPositionWS
Field Value
Type | Description |
---|---|
float3 |