Struct Dash
Defines the properties of a dash line.
Can be implicitly created from a single float to
specify a uniform dash and g ap value.
[BurstCompile]
public struct Dash
Constructors
Dash(float)
Dash(float, float)
Dash(float, float, float)
Fields
dash
gap
offset
Methods
Normalize()
Returns the normalized values used by the shader to produce the dash.
public Dash.Values Normalize()
Returns
Normalize(float)
Returns the normalized values used by the shader to produce the dash.
public Dash.Values Normalize(float distance)
Parameters
distancefloat
Returns
Normalize(float3, float3)
Returns the normalized values used by the shader to produce the dash.
public Dash.Values Normalize(float3 p1, float3 p2)