C# Класс TerrainDisplay.Collision.OCTree.OCTree

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Root OCTreeNode

Открытые методы

Метод Описание
GetIntersectingNodes ( BoundingBox &bbox, List &intersection ) : bool
GetIntersectingNodes ( BoundingSphere &sphere, List &intersection ) : bool
GetIntersectingNodes ( BoundingSphere &sphere, Matrix &world, List &intersection ) : bool
GetIntersectingPolygon ( Ray ray, Matrix world, OCTreeIntersection &intersection ) : bool
GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &intersection ) : bool
GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &intersection ) : bool
MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction ) : void
MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction, List &sphereColliders ) : void

Описание методов

GetIntersectingNodes() публичный Метод

public GetIntersectingNodes ( BoundingBox &bbox, List &intersection ) : bool
bbox BoundingBox
intersection List
Результат bool

GetIntersectingNodes() публичный Метод

public GetIntersectingNodes ( BoundingSphere &sphere, List &intersection ) : bool
sphere BoundingSphere
intersection List
Результат bool

GetIntersectingNodes() публичный Метод

public GetIntersectingNodes ( BoundingSphere &sphere, Matrix &world, List &intersection ) : bool
sphere BoundingSphere
world Matrix
intersection List
Результат bool

GetIntersectingPolygon() публичный Метод

public GetIntersectingPolygon ( Ray ray, Matrix world, OCTreeIntersection &intersection ) : bool
ray Ray
world Matrix
intersection OCTreeIntersection
Результат bool

GetIntersectingPolygon() публичный Метод

public GetIntersectingPolygon ( Ray &ray, OCTreeIntersection &intersection ) : bool
ray Ray
intersection OCTreeIntersection
Результат bool

GetIntersectingPolygons() публичный Метод

public GetIntersectingPolygons ( BoundingSphere &sphere, Vector3 &velocityNormal, List &intersection ) : bool
sphere BoundingSphere
velocityNormal Vector3
intersection List
Результат bool

MoveSphere() публичный Метод

public MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction ) : void
sphere BoundingSphere
sphereVelocity Vector3
Friction float
Результат void

MoveSphere() публичный Метод

public MoveSphere ( BoundingSphere &sphere, Vector3 &sphereVelocity, float Friction, List &sphereColliders ) : void
sphere BoundingSphere
sphereVelocity Vector3
Friction float
sphereColliders List
Результат void

Описание свойств

Root публичное свойство

public OCTreeNode,TerrainDisplay.Collision.OCTree Root
Результат OCTreeNode