MeshHelperGenerateRandomPoint Method |
Get random point on mesh
Namespace:
DigitalRuby.ThunderAndLightning
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void GenerateRandomPoint(
ref RaycastHit hit,
out int triangleIndex
)
Public Sub GenerateRandomPoint (
ByRef hit As RaycastHit,
<OutAttribute> ByRef triangleIndex As Integer
)
public:
void GenerateRandomPoint(
RaycastHit% hit,
[OutAttribute] int% triangleIndex
)
member GenerateRandomPoint :
hit : RaycastHit byref *
triangleIndex : int byref -> unit
Parameters
- hit
- Type: RaycastHit
Raycast - triangleIndex
- Type: SystemInt32
Received indice
See Also