C# Class Pathfinding.GraphCollision

Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
collisionCheck bool
collisionOffset float
diameter float
fromHeight float
height float
heightCheck bool
heightMask UnityEngine.LayerMask
mask UnityEngine.LayerMask
rayDirection RayDirection
thickRaycast bool
thickRaycastDiameter float
type ColliderType
unwalkableWhenNoGround bool
up UnityEngine.Vector3
use2D bool

Méthodes publiques

Méthode Description
Check ( Vector3 position ) : bool
CheckHeight ( Vector3 position ) : Vector3
CheckHeight ( Vector3 position, RaycastHit &hit, bool &walkable ) : Vector3
CheckHeightAll ( Vector3 position ) : UnityEngine.RaycastHit[]
Initialize ( Matrix4x4 matrix, float scale ) : void
Raycast ( Vector3 origin, RaycastHit &hit, bool &walkable ) : Vector3

Method Details

Check() public méthode

public Check ( Vector3 position ) : bool
position UnityEngine.Vector3
Résultat bool

CheckHeight() public méthode

public CheckHeight ( Vector3 position ) : Vector3
position UnityEngine.Vector3
Résultat UnityEngine.Vector3

CheckHeight() public méthode

public CheckHeight ( Vector3 position, RaycastHit &hit, bool &walkable ) : Vector3
position UnityEngine.Vector3
hit UnityEngine.RaycastHit
walkable bool
Résultat UnityEngine.Vector3

CheckHeightAll() public méthode

public CheckHeightAll ( Vector3 position ) : UnityEngine.RaycastHit[]
position UnityEngine.Vector3
Résultat UnityEngine.RaycastHit[]

Initialize() public méthode

public Initialize ( Matrix4x4 matrix, float scale ) : void
matrix UnityEngine.Matrix4x4
scale float
Résultat void

Raycast() public méthode

public Raycast ( Vector3 origin, RaycastHit &hit, bool &walkable ) : Vector3
origin UnityEngine.Vector3
hit UnityEngine.RaycastHit
walkable bool
Résultat UnityEngine.Vector3

Property Details

collisionCheck public_oe property

public bool collisionCheck
Résultat bool

collisionOffset public_oe property

public float collisionOffset
Résultat float

diameter public_oe property

public float diameter
Résultat float

fromHeight public_oe property

public float fromHeight
Résultat float

height public_oe property

public float height
Résultat float

heightCheck public_oe property

public bool heightCheck
Résultat bool

heightMask public_oe property

public LayerMask,UnityEngine heightMask
Résultat UnityEngine.LayerMask

mask public_oe property

public LayerMask,UnityEngine mask
Résultat UnityEngine.LayerMask

rayDirection public_oe property

public RayDirection rayDirection
Résultat RayDirection

thickRaycast public_oe property

public bool thickRaycast
Résultat bool

thickRaycastDiameter public_oe property

public float thickRaycastDiameter
Résultat float

type public_oe property

public ColliderType type
Résultat ColliderType

unwalkableWhenNoGround public_oe property

public bool unwalkableWhenNoGround
Résultat bool

up public_oe property

public Vector3,UnityEngine up
Résultat UnityEngine.Vector3

use2D public_oe property

public bool use2D
Résultat bool