C# Класс Axiom.Core.SceneQuery.WorldFragment

Represents part of the world geometry that is a result of a SceneQuery.
Since world geometry is normally vast and sprawling, we need a way of retrieving parts of it based on a query. That is what this struct is for; note there are potentially as many data structures for world geometry as there are SceneManagers, however this structure includes a few common abstractions as well as a more general format.

The type of world fragment that is returned from a query depends on the SceneManager, and the fragment types are supported on the query.

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

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

Свойство Тип Описание
FragmentType WorldFragmentType
Planes PlaneList
RenderOp Axiom.Graphics.RenderOperation
SingleIntersection Vector3

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

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

The type of this world fragment.
public WorldFragmentType FragmentType
Результат WorldFragmentType

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

Planes bounding a convex region, only applicable for WorldFragmentType.PlaneBoundedRegion.
public PlaneList Planes
Результат PlaneList

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

General render operation structure. Fallback if nothing else is available.
public RenderOperation,Axiom.Graphics RenderOp
Результат Axiom.Graphics.RenderOperation

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

Single intersection point, only applicable for WorldFragmentType.SingleIntersection.
public Vector3 SingleIntersection
Результат Vector3