Struct DistanceHit
Syntax
public struct DistanceHit : IQueryResult
Fields
ColliderKey
Declaration
public ColliderKey ColliderKey
Field Value
Position
Declaration
Field Value
RigidBodyIndex
Declaration
public int RigidBodyIndex
Field Value
Type |
Description |
System.Int32 |
|
SurfaceNormal
Declaration
public float3 SurfaceNormal
Field Value
Properties
Distance
Declaration
public float Distance { get; }
Property Value
Type |
Description |
System.Single |
|
Fraction
Declaration
public float Fraction { get; set; }
Property Value
Type |
Description |
System.Single |
|
Implements
Methods
Declaration
public void Transform(Math.MTransform transform, int rigidBodyIndex)
Parameters
Type |
Name |
Description |
Math.MTransform |
transform |
|
System.Int32 |
rigidBodyIndex |
|
Implements
Declaration
public void Transform(Math.MTransform transform, uint numSubKeyBits, uint subKey)
Parameters
Type |
Name |
Description |
Math.MTransform |
transform |
|
System.UInt32 |
numSubKeyBits |
|
System.UInt32 |
subKey |
|
Implements