C# Class Grey.Vox.VoxWorld

Afficher le fichier Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Méthodes publiques

Свойство Type Description
pager RegionPager
regions Grey.Vox.Region[]
state Grey.Engine.VoxState
worldMin Point

Méthodes publiques

Méthode Description
IsInArray ( int x, int z, int &ax, int &az ) : bool
PlaceRegion ( Region region ) : bool
ToIndex ( Point p ) : int
ToIndex ( int x, int z ) : int
TryCreateRegion ( int x, int z ) : Region
VoxWorld ( VoxState s ) : System

Method Details

IsInArray() public méthode

public IsInArray ( int x, int z, int &ax, int &az ) : bool
x int
z int
ax int
az int
Résultat bool

PlaceRegion() public méthode

public PlaceRegion ( Region region ) : bool
region Region
Résultat bool

ToIndex() public static méthode

public static ToIndex ( Point p ) : int
p Point
Résultat int

ToIndex() public static méthode

public static ToIndex ( int x, int z ) : int
x int
z int
Résultat int

TryCreateRegion() public méthode

public TryCreateRegion ( int x, int z ) : Region
x int
z int
Résultat Region

VoxWorld() public méthode

public VoxWorld ( VoxState s ) : System
s Grey.Engine.VoxState
Résultat System

Property Details

pager public_oe property

public RegionPager,Grey.Vox pager
Résultat RegionPager

regions public_oe property

public Region[],Grey.Vox regions
Résultat Grey.Vox.Region[]

state public_oe property

public VoxState,Grey.Engine state
Résultat Grey.Engine.VoxState

worldMin public_oe property

public Point worldMin
Résultat Point