C# Class Grey.Vox.Region

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

Méthodes publiques

Свойство Type Description
changedCount int
loc Point
rBS Grey.Vox.RegionBoundaryState[]
rNX Region
voxels Grey.Vox.Voxel[]

Méthodes publiques

Méthode Description
AddVoxel ( int x, int y, int z, ushort id ) : void
ApplyToAll ( Func f ) : void
LoadComplete ( ) : void
NotifyFacesChanged ( ) : void
RecalculateSeam ( int vi1, int vi2, int f ) : bool
RecalculateSeams ( int vi1, int vi2, int f ) : bool
Region ( VoxWorld w ) : System
RemoveVoxel ( int x, int y, int z ) : void
SetVoxel ( int x, int y, int z, ushort id ) : void
ToIndex ( Vector3I v ) : int
ToIndex ( int x, int y, int z ) : int

Method Details

AddVoxel() public méthode

public AddVoxel ( int x, int y, int z, ushort id ) : void
x int
y int
z int
id ushort
Résultat void

ApplyToAll() public méthode

public ApplyToAll ( Func f ) : void
f Func
Résultat void

LoadComplete() public méthode

public LoadComplete ( ) : void
Résultat void

NotifyFacesChanged() public méthode

public NotifyFacesChanged ( ) : void
Résultat void

RecalculateSeam() public méthode

public RecalculateSeam ( int vi1, int vi2, int f ) : bool
vi1 int
vi2 int
f int
Résultat bool

RecalculateSeams() public méthode

public RecalculateSeams ( int vi1, int vi2, int f ) : bool
vi1 int
vi2 int
f int
Résultat bool

Region() public méthode

public Region ( VoxWorld w ) : System
w VoxWorld
Résultat System

RemoveVoxel() public méthode

public RemoveVoxel ( int x, int y, int z ) : void
x int
y int
z int
Résultat void

SetVoxel() public méthode

public SetVoxel ( int x, int y, int z, ushort id ) : void
x int
y int
z int
id ushort
Résultat void

ToIndex() public static méthode

public static ToIndex ( Vector3I v ) : int
v Microsoft.Xna.Framework.Vector3I
Résultat int

ToIndex() public static méthode

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

Property Details

changedCount public_oe property

public int changedCount
Résultat int

loc public_oe property

public Point loc
Résultat Point

rBS public_oe property

public RegionBoundaryState[],Grey.Vox rBS
Résultat Grey.Vox.RegionBoundaryState[]

rNX public_oe property

public Region,Grey.Vox rNX
Résultat Region

voxels public_oe property

public Voxel[],Grey.Vox voxels
Résultat Grey.Vox.Voxel[]