C# Class BlockRegion, Immersion

Inheritance: MonoBehaviour
Mostrar archivo Open project: copygirl/Immersion Class Usage Examples

Public Properties

Property Type Description
start BlockPos,

Public Methods

Method Description
BlockRegion ( BlockPos, start, BlockPos, end ) : System
BlockRegion ( int startX, int startY, int startZ, int endX, int endY, int endZ ) : System
Contains ( BlockPos, pos ) : bool

Returns if the BlockPos is contained in this region.

Equals ( object obj ) : bool
Expand ( int size ) : BlockRegion,

Returns a region that is the specified number of blocks larger in all 6 directions.

GetHashCode ( ) : int
ToString ( ) : string
operator ( ) : bool

Method Details

BlockRegion() public method

public BlockRegion ( BlockPos, start, BlockPos, end ) : System
start BlockPos,
end BlockPos,
return System

BlockRegion() public method

public BlockRegion ( int startX, int startY, int startZ, int endX, int endY, int endZ ) : System
startX int
startY int
startZ int
endX int
endY int
endZ int
return System

Contains() public method

Returns if the BlockPos is contained in this region.
public Contains ( BlockPos, pos ) : bool
pos BlockPos,
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

Expand() public method

Returns a region that is the specified number of blocks larger in all 6 directions.
public Expand ( int size ) : BlockRegion,
size int
return BlockRegion,

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

Property Details

start public_oe property

public BlockPos, start
return BlockPos,