Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveToGobFile ¶
func SaveToGobFile(data *NavMeshData, file string) error
Types ¶
type AutoOffMeshLinkData ¶
type AutoOffMeshLinkData struct {
M_Start Vector3f
M_End Vector3f
M_Radius float32
M_LinkType uint16 // Off-mesh poly flags.
M_Area byte // Off-mesh poly area ids.
M_LinkDirection byte // Off-mesh connection direction flags (NavMeshLinkDirectionFlags)
}
func LoadNavMeshSceneDatFromJsonFile ¶
func LoadNavMeshSceneDatFromJsonFile(file string) ([]float32, []AutoOffMeshLinkData, error)
type HeightMeshBVNode ¶
type HeightMeshData ¶
type HeightMeshData struct {
M_Vertices []Vector3f
M_Indices []int32
M_Nodes []HeightMeshBVNode
M_Bounds AABB
}
type NavMeshBuildSettings ¶
type NavMeshBuildSettings struct {
// Advanced
}
type NavMeshData ¶
type NavMeshData struct {
}
func LoadFromByteStream ¶
func LoadFromByteStream(byteStream []byte) (*NavMeshData, error)
func LoadFromGobFile ¶
func LoadFromGobFile(file string) (*NavMeshData, error)
func LoadFromTxtFile ¶
func LoadFromTxtFile(file string) (*NavMeshData, error)
func (*NavMeshData) SetSceneData ¶
func (this *NavMeshData) SetSceneData(areaCosts []float32, offMeshLinks []AutoOffMeshLinkData)
type NavMeshTileData ¶
type NavMeshTileData struct {
}
type Quaternionf ¶
type Quaternionf struct {
X, Y, Z, W float32
}
Click to show internal directories.
Click to hide internal directories.