C# Class 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.

Datei anzeigen Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
FragmentType WorldFragmentType
Planes PlaneList
RenderOp Axiom.Graphics.RenderOperation
SingleIntersection Vector3

Property Details

FragmentType public_oe property

The type of this world fragment.
public WorldFragmentType FragmentType
return WorldFragmentType

Planes public_oe property

Planes bounding a convex region, only applicable for WorldFragmentType.PlaneBoundedRegion.
public PlaneList Planes
return PlaneList

RenderOp public_oe property

General render operation structure. Fallback if nothing else is available.
public RenderOperation,Axiom.Graphics RenderOp
return Axiom.Graphics.RenderOperation

SingleIntersection public_oe property

Single intersection point, only applicable for WorldFragmentType.SingleIntersection.
public Vector3 SingleIntersection
return Vector3