|
@@ -1104,6 +1104,7 @@ Methods:
|
|
|
|
|
|
|
|
- void SetEnabled(bool enable)
|
|
- void SetEnabled(bool enable)
|
|
|
- void Remove()
|
|
- void Remove()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
|
|
|
- unsigned GetID() const
|
|
- unsigned GetID() const
|
|
|
- Node* GetNode() const
|
|
- Node* GetNode() const
|
|
|
- Scene* GetScene() const
|
|
- Scene* GetScene() const
|
|
@@ -1863,6 +1864,7 @@ Properties:
|
|
|
|
|
|
|
|
- NavigationMesh* navigationMesh
|
|
- NavigationMesh* navigationMesh
|
|
|
- int maxAgents
|
|
- int maxAgents
|
|
|
|
|
+- unsigned agentCount (readonly)
|
|
|
|
|
|
|
|
<a name="Class_Drawable"></a>
|
|
<a name="Class_Drawable"></a>
|
|
|
### Drawable : Component
|
|
### Drawable : Component
|
|
@@ -3370,6 +3372,8 @@ Methods:
|
|
|
- bool Build()
|
|
- bool Build()
|
|
|
- bool Build(const BoundingBox& boundingBox)
|
|
- bool Build(const BoundingBox& boundingBox)
|
|
|
- void SetPartitionType(NavmeshPartitionType aType)
|
|
- void SetPartitionType(NavmeshPartitionType aType)
|
|
|
|
|
+- void SetDrawOffMeshConnections(bool enable)
|
|
|
|
|
+- void SetDrawNavAreas(bool enable)
|
|
|
- Vector3 FindNearestPoint(const Vector3& point)
|
|
- Vector3 FindNearestPoint(const Vector3& point)
|
|
|
- Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
|
|
- Vector3 FindNearestPoint(const Vector3& point, const Vector3& extents)
|
|
|
- Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
|
|
- Vector3 MoveAlongSurface(const Vector3& start, const Vector3& end)
|
|
@@ -3404,6 +3408,8 @@ Methods:
|
|
|
- BoundingBox GetWorldBoundingBox() const
|
|
- BoundingBox GetWorldBoundingBox() const
|
|
|
- IntVector2 GetNumTiles() const
|
|
- IntVector2 GetNumTiles() const
|
|
|
- NavmeshPartitionType GetPartitionType()
|
|
- NavmeshPartitionType GetPartitionType()
|
|
|
|
|
+- bool GetDrawOffMeshConnections() const
|
|
|
|
|
+- bool GetDrawNavAreas() const
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
@@ -3422,6 +3428,8 @@ Properties:
|
|
|
- float detailSampleMaxError
|
|
- float detailSampleMaxError
|
|
|
- Vector3& padding
|
|
- Vector3& padding
|
|
|
- NavmeshPartitionType partitionType
|
|
- NavmeshPartitionType partitionType
|
|
|
|
|
+- bool drawOffMeshConnections
|
|
|
|
|
+- bool drawNavAreas
|
|
|
- bool initialized (readonly)
|
|
- bool initialized (readonly)
|
|
|
- BoundingBox& boundingBox (readonly)
|
|
- BoundingBox& boundingBox (readonly)
|
|
|
- BoundingBox worldBoundingBox (readonly)
|
|
- BoundingBox worldBoundingBox (readonly)
|
|
@@ -3768,15 +3776,21 @@ Methods:
|
|
|
- void SetEndPoint(Node* node)
|
|
- void SetEndPoint(Node* node)
|
|
|
- void SetRadius(float radius)
|
|
- void SetRadius(float radius)
|
|
|
- void SetBidirectional(bool enabled)
|
|
- void SetBidirectional(bool enabled)
|
|
|
|
|
+- void SetMask(unsigned newMask)
|
|
|
|
|
+- void SetAreaID(unsigned newAreaID)
|
|
|
- Node* GetEndPoint() const
|
|
- Node* GetEndPoint() const
|
|
|
- float GetRadius() const
|
|
- float GetRadius() const
|
|
|
- bool IsBidirectional() const
|
|
- bool IsBidirectional() const
|
|
|
|
|
+- unsigned GetMask() const
|
|
|
|
|
+- unsigned GetAreaID() const
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
|
- Node* endPoint
|
|
- Node* endPoint
|
|
|
- float radius
|
|
- float radius
|
|
|
- bool bidirectional
|
|
- bool bidirectional
|
|
|
|
|
+- unsigned mask
|
|
|
|
|
+- unsigned areaID
|
|
|
|
|
|
|
|
<a name="Class_PackageEntry"></a>
|
|
<a name="Class_PackageEntry"></a>
|
|
|
### PackageEntry
|
|
### PackageEntry
|
|
@@ -5883,7 +5897,6 @@ Properties:
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|
|
|
|
|
|
|
|
-- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
|
|
|
|
|
- void SetTmxFile(TmxFile2D* tmxFile)
|
|
- void SetTmxFile(TmxFile2D* tmxFile)
|
|
|
- TmxFile2D* GetTmxFile() const
|
|
- TmxFile2D* GetTmxFile() const
|
|
|
- const TileMapInfo2D& GetInfo() const
|
|
- const TileMapInfo2D& GetInfo() const
|
|
@@ -5922,7 +5935,6 @@ Properties:
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|
|
|
|
|
|
|
|
-- void DrawDebugGeometry(DebugRenderer* debug, bool depthTest)
|
|
|
|
|
- void SetDrawOrder(int drawOrder)
|
|
- void SetDrawOrder(int drawOrder)
|
|
|
- void SetVisible(bool visible)
|
|
- void SetVisible(bool visible)
|
|
|
- int GetDrawOrder() const
|
|
- int GetDrawOrder() const
|