Struct WaterSimulationSearchJob
C# Job that evaluate the height for a set of WaterSearchParameters and returns a set of WaterSearchResult (and stored them into native buffers).
Implements
Inherited Members
Namespace: UnityEngine .Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[BurstCompile]
public struct WaterSimulationSearchJob : IJobParallelFor
Fields
Name | Description |
---|---|
candidate |
Output native array that holds the set of positions that were used to generate the height value. |
direction |
Output native array that holds the set of direction for each target position; |
error | Target error value at which the algorithm should stop. |
error |
Output native array that holds the set of horizontal error for each target position. |
exclude |
Specifies if the search should ignore the simulation. |
include |
Specifies if the search job should include the deformations |
max |
Number of iterations of the search algorithm. |
projected |
Output native array that holds the set of world space position projected on the water surface along the up vector of the water surface. |
sim |
Input simulation search data produced by the water surface. |
start |
Native array that holds the set of "hint" position that the algorithm starts from. |
step |
Output native array that holds the set of steps that were executed to find the height. |
target |
Native array that holds the set of position that the job will need to evaluate the height for. |
Methods
Name | Description |
---|---|
Execute(int) | Function that evaluates the height for a given element in the input buffer. |