C# 클래스 OpenSim.Region.Framework.Scenes.VoxelChannel

상속: IVoxelChannel
파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CHUNK_SIZE_X int
CHUNK_SIZE_Y int
CHUNK_SIZE_Z int
TerrainGenerators ITerrainGenerator>.Dictionary
Voxels byte[]
mMaterials OpenSim.Region.Framework.Interfaces.MaterialMap

공개 메소드들

메소드 설명
AND ( VoxelChannel a, VoxelChannel b, ReplaceMode rep ) : VoxelChannel
AddMaterial ( VoxMaterial butts ) : void
FillVoxels ( System.Vector3 min, System.Vector3 max, byte v ) : void
FindNearestAirVoxel ( System.Vector3 subject, bool ForAvatar ) : System.Vector3
ForEachVoxel ( Action a ) : void
FromBytes ( byte b ) : void
Generate ( string method, long seed, long X, long Y ) : void
Generate ( string method, long seed, long X, long Y, object args ) : void
GetBoolsSerialised ( ) : bool[]
GetChunk ( int x, int y ) : byte[]
GetChunkBlock ( byte &chunk, int x, int y, int z ) : byte
GetChunkData ( int X, int Y, int Z ) : byte[]
GetDoubles ( ) : ].double[
GetDoubles ( bool lowest ) : ].double[
GetHeightAt ( int x, int y ) : double
GetSolidsArray ( ) : bool[]
GetVoxel ( System.Vector3 pos ) : byte
GetVoxel ( int x, int y, int z ) : byte
ImportHeightmap ( float heightmap ) : void
IsInsideTerrain ( System.Vector3 pos ) : bool
IsSolid ( int x, int y, int z ) : bool
Load ( string RegionName ) : void
LoadFromFile ( string file ) : void
LoadFromXmlString ( string data ) : void
MakeCopy ( ) : IVoxelChannel
MoveVoxel ( System.Vector3 from, System.Vector3 to ) : void
Save ( string RegionName ) : void
SaveToFile ( string file ) : void
SaveToXmlString ( ) : string
SetChunkBlock ( byte &chunk, byte type, int x, int y, int z ) : void
SetTo ( byte b ) : void
SetVoxel ( System.Vector3 pos, byte v ) : void
SetVoxel ( int x, int y, int z, byte voxel ) : void
Tainted ( int x, int y, int z ) : bool
ToBytes ( ) : byte[]
ToMaterialMap ( ) : int[,,]
VoxelChannel ( int x, int y, int z ) : System

Constructor.

VoxelChannel ( uint x, uint y, uint z ) : System
inGrid ( System.Vector3 pos ) : bool
operator ( ) : VoxelChannel
this ( int x, int y, int z ) : int

비공개 메소드들

메소드 설명
GetFloatsSerialised ( ) : float[]
ReadXml ( XmlTextReader reader ) : void
VoxelsFromXml ( XmlReader xmlReader ) : void
WriteXML ( XmlWriter w ) : void

메소드 상세

AND() 정적인 공개 메소드

static public AND ( VoxelChannel a, VoxelChannel b, ReplaceMode rep ) : VoxelChannel
a VoxelChannel
b VoxelChannel
rep ReplaceMode
리턴 VoxelChannel

AddMaterial() 공개 메소드

public AddMaterial ( VoxMaterial butts ) : void
butts OpenSim.Region.Framework.Interfaces.VoxMaterial
리턴 void

FillVoxels() 공개 메소드

public FillVoxels ( System.Vector3 min, System.Vector3 max, byte v ) : void
min System.Vector3
max System.Vector3
v byte
리턴 void

FindNearestAirVoxel() 공개 메소드

public FindNearestAirVoxel ( System.Vector3 subject, bool ForAvatar ) : System.Vector3
subject System.Vector3
ForAvatar bool
리턴 System.Vector3

ForEachVoxel() 공개 메소드

public ForEachVoxel ( Action a ) : void
a Action
리턴 void

FromBytes() 공개 메소드

public FromBytes ( byte b ) : void
b byte
리턴 void

Generate() 공개 메소드

public Generate ( string method, long seed, long X, long Y ) : void
method string
seed long
X long
Y long
리턴 void

Generate() 공개 메소드

public Generate ( string method, long seed, long X, long Y, object args ) : void
method string
seed long
X long
Y long
args object
리턴 void

GetBoolsSerialised() 공개 메소드

public GetBoolsSerialised ( ) : bool[]
리턴 bool[]

GetChunk() 공개 메소드

public GetChunk ( int x, int y ) : byte[]
x int
y int
리턴 byte[]

GetChunkBlock() 공개 메소드

public GetChunkBlock ( byte &chunk, int x, int y, int z ) : byte
chunk byte
x int
y int
z int
리턴 byte

GetChunkData() 공개 메소드

public GetChunkData ( int X, int Y, int Z ) : byte[]
X int
Y int
Z int
리턴 byte[]

GetDoubles() 공개 메소드

public GetDoubles ( ) : ].double[
리턴 ].double[

GetDoubles() 공개 메소드

public GetDoubles ( bool lowest ) : ].double[
lowest bool
리턴 ].double[

GetHeightAt() 공개 메소드

public GetHeightAt ( int x, int y ) : double
x int
y int
리턴 double

GetSolidsArray() 공개 메소드

public GetSolidsArray ( ) : bool[]
리턴 bool[]

GetVoxel() 공개 메소드

public GetVoxel ( System.Vector3 pos ) : byte
pos System.Vector3
리턴 byte

GetVoxel() 공개 메소드

public GetVoxel ( int x, int y, int z ) : byte
x int
y int
z int
리턴 byte

ImportHeightmap() 공개 메소드

public ImportHeightmap ( float heightmap ) : void
heightmap float
리턴 void

IsInsideTerrain() 공개 메소드

public IsInsideTerrain ( System.Vector3 pos ) : bool
pos System.Vector3
리턴 bool

IsSolid() 공개 메소드

public IsSolid ( int x, int y, int z ) : bool
x int
y int
z int
리턴 bool

Load() 공개 메소드

public Load ( string RegionName ) : void
RegionName string
리턴 void

LoadFromFile() 공개 메소드

public LoadFromFile ( string file ) : void
file string
리턴 void

LoadFromXmlString() 공개 메소드

public LoadFromXmlString ( string data ) : void
data string
리턴 void

MakeCopy() 공개 메소드

public MakeCopy ( ) : IVoxelChannel
리턴 IVoxelChannel

MoveVoxel() 공개 메소드

public MoveVoxel ( System.Vector3 from, System.Vector3 to ) : void
from System.Vector3
to System.Vector3
리턴 void

Save() 공개 메소드

public Save ( string RegionName ) : void
RegionName string
리턴 void

SaveToFile() 공개 메소드

public SaveToFile ( string file ) : void
file string
리턴 void

SaveToXmlString() 공개 메소드

public SaveToXmlString ( ) : string
리턴 string

SetChunkBlock() 공개 메소드

public SetChunkBlock ( byte &chunk, byte type, int x, int y, int z ) : void
chunk byte
type byte
x int
y int
z int
리턴 void

SetTo() 공개 메소드

public SetTo ( byte b ) : void
b byte
리턴 void

SetVoxel() 공개 메소드

public SetVoxel ( System.Vector3 pos, byte v ) : void
pos System.Vector3
v byte
리턴 void

SetVoxel() 공개 메소드

public SetVoxel ( int x, int y, int z, byte voxel ) : void
x int
y int
z int
voxel byte
리턴 void

Tainted() 공개 메소드

public Tainted ( int x, int y, int z ) : bool
x int
y int
z int
리턴 bool

ToBytes() 공개 메소드

public ToBytes ( ) : byte[]
리턴 byte[]

ToMaterialMap() 공개 메소드

public ToMaterialMap ( ) : int[,,]
리턴 int[,,]

VoxelChannel() 공개 메소드

Constructor.
public VoxelChannel ( int x, int y, int z ) : System
x int /// X size ///
y int /// Y size ///
z int /// Z size ///
리턴 System

VoxelChannel() 공개 메소드

public VoxelChannel ( uint x, uint y, uint z ) : System
x uint
y uint
z uint
리턴 System

inGrid() 공개 메소드

public inGrid ( System.Vector3 pos ) : bool
pos System.Vector3
리턴 bool

operator() 공개 정적인 메소드

public static operator ( ) : VoxelChannel
리턴 VoxelChannel

this() 공개 메소드

public this ( int x, int y, int z ) : int
x int
y int
z int
리턴 int

프로퍼티 상세

CHUNK_SIZE_X 공개적으로 정적으로 프로퍼티

public static int CHUNK_SIZE_X
리턴 int

CHUNK_SIZE_Y 공개적으로 정적으로 프로퍼티

public static int CHUNK_SIZE_Y
리턴 int

CHUNK_SIZE_Z 공개적으로 정적으로 프로퍼티

public static int CHUNK_SIZE_Z
리턴 int

TerrainGenerators 공개적으로 프로퍼티

public Dictionary TerrainGenerators
리턴 ITerrainGenerator>.Dictionary

Voxels 공개적으로 프로퍼티

public byte[] Voxels
리턴 byte[]

mMaterials 공개적으로 프로퍼티

public MaterialMap,OpenSim.Region.Framework.Interfaces mMaterials
리턴 OpenSim.Region.Framework.Interfaces.MaterialMap