C# Class Pathfinding.NavmeshCut

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
GizmoColor UnityEngine.Color
center UnityEngine.Vector3
circleRadius float
circleResolution int
cutsAddedGeom bool
height float
isDual bool
mesh Mesh
meshScale float
rectangleSize Vector2
type MeshType
updateDistance float
updateRotationDistance float
useRotation bool

Protected Properties

Property Type Description
tr Transform

Public Methods

Method Description
Awake ( ) : void
CalculateMeshContour ( ) : void
ForceUpdate ( ) : void
GetAll ( ) : List
GetAllInRange ( Bounds b ) : List
GetBounds ( ) : Bounds
GetContour ( List buffer ) : void
IntPointToV3 ( Pathfinding p ) : Vector3
NotifyUpdated ( ) : void
OnDestroy ( ) : void
OnDrawGizmos ( ) : void
OnDrawGizmosSelected ( ) : void
OnEnable ( ) : void
RequiresUpdate ( ) : bool
UsedForCut ( ) : void
V3ToIntPoint ( Vector3 p ) : Pathfinding.ClipperLib.IntPoint

Private Methods

Method Description
AddCut ( NavmeshCut obj ) : void
Intersects ( Bounds b1, Bounds b2 ) : bool
RemoveCut ( NavmeshCut obj ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CalculateMeshContour() public method

public CalculateMeshContour ( ) : void
return void

ForceUpdate() public method

public ForceUpdate ( ) : void
return void

GetAll() public static method

public static GetAll ( ) : List
return List

GetAllInRange() public static method

public static GetAllInRange ( Bounds b ) : List
b UnityEngine.Bounds
return List

GetBounds() public method

public GetBounds ( ) : Bounds
return UnityEngine.Bounds

GetContour() public method

public GetContour ( List buffer ) : void
buffer List
return void

IntPointToV3() public method

public IntPointToV3 ( Pathfinding p ) : Vector3
p Pathfinding
return UnityEngine.Vector3

NotifyUpdated() public method

public NotifyUpdated ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnDrawGizmosSelected() public method

public OnDrawGizmosSelected ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

RequiresUpdate() public method

public RequiresUpdate ( ) : bool
return bool

UsedForCut() public method

public UsedForCut ( ) : void
return void

V3ToIntPoint() public method

public V3ToIntPoint ( Vector3 p ) : Pathfinding.ClipperLib.IntPoint
p UnityEngine.Vector3
return Pathfinding.ClipperLib.IntPoint

Property Details

GizmoColor public_oe static_oe property

public static Color,UnityEngine GizmoColor
return UnityEngine.Color

center public_oe property

public Vector3,UnityEngine center
return UnityEngine.Vector3

circleRadius public_oe property

public float circleRadius
return float

circleResolution public_oe property

public int circleResolution
return int

cutsAddedGeom public_oe property

public bool cutsAddedGeom
return bool

height public_oe property

public float height
return float

isDual public_oe property

public bool isDual
return bool

mesh public_oe property

public Mesh mesh
return Mesh

meshScale public_oe property

public float meshScale
return float

rectangleSize public_oe property

public Vector2 rectangleSize
return Vector2

tr protected_oe property

protected Transform tr
return Transform

type public_oe property

public MeshType type
return MeshType

updateDistance public_oe property

public float updateDistance
return float

updateRotationDistance public_oe property

public float updateRotationDistance
return float

useRotation public_oe property

public bool useRotation
return bool