프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CardinalDirections | Direction[] | ||
CardinalUpDownDirections | Direction[] | ||
IntercardinalDirections | Direction[] | ||
PlanarDirections | Direction[] | ||
PlanarUpDownDirections | Direction[] |
메소드 | 설명 | |
---|---|---|
ComponentsToDirection ( int x, int y ) : Direction | ||
ComponentsToDirection ( int x, int y, int z ) : Direction | ||
Contains ( this dirset, Direction dir ) : bool | ||
ContainsDown ( this dir ) : bool | ||
ContainsUp ( this dir ) : bool | ||
DirectionToComponents ( this dir, int &x, int &y ) : void | ||
DirectionToComponents ( this dir, int &x, int &y, int &z ) : void | ||
IsCardinal ( this dir ) : bool | ||
IsCardinalUpDown ( this dir ) : bool | ||
IsIntercardinal ( this dir ) : bool | ||
IsPlanar ( this dir ) : bool | ||
IsPlanarUpDown ( this dir ) : bool | ||
IsValid ( this dir ) : bool | ||
Reverse ( this dir ) : Direction | ||
Reverse ( this ds ) : DirectionSet | ||
ToDirectionOrdinal ( this dir ) : DirectionOrdinal | ||
ToDirectionSet ( this dir ) : DirectionSet | ||
ToDirections ( this dirset ) : IEnumerable |
||
ToIntVector2 ( this dir ) : IntVector2 | ||
ToIntVector3 ( this dir ) : IntVector3 | ||
ToPlanarDirection ( this dir ) : Direction | ||
ToSurroundingPoints ( this dirset, IntVector2 p ) : IEnumerable |
||
ToSurroundingPoints ( this dirset, IntVector3 p ) : IEnumerable |
||
ToVectors ( this dirset ) : IEnumerable |
메소드 | 설명 | |
---|---|---|
DirectionExtensions ( ) : System |
public static ComponentsToDirection ( int x, int y ) : Direction | ||
x | int | |
y | int | |
리턴 | Direction |
public static ComponentsToDirection ( int x, int y, int z ) : Direction | ||
x | int | |
y | int | |
z | int | |
리턴 | Direction |
public static Contains ( this dirset, Direction dir ) : bool | ||
dirset | this | |
dir | Direction | |
리턴 | bool |
public static DirectionToComponents ( this dir, int &x, int &y ) : void | ||
dir | this | |
x | int | |
y | int | |
리턴 | void |
public static DirectionToComponents ( this dir, int &x, int &y, int &z ) : void | ||
dir | this | |
x | int | |
y | int | |
z | int | |
리턴 | void |
public static ToDirectionOrdinal ( this dir ) : DirectionOrdinal | ||
dir | this | |
리턴 | DirectionOrdinal |
public static ToDirectionSet ( this dir ) : DirectionSet | ||
dir | this | |
리턴 | DirectionSet |
public static ToDirections ( this dirset ) : IEnumerable |
||
dirset | this | |
리턴 | IEnumerable |
public static ToIntVector2 ( this dir ) : IntVector2 | ||
dir | this | |
리턴 | IntVector2 |
public static ToIntVector3 ( this dir ) : IntVector3 | ||
dir | this | |
리턴 | IntVector3 |
public static ToPlanarDirection ( this dir ) : Direction | ||
dir | this | |
리턴 | Direction |
public static ToSurroundingPoints ( this dirset, IntVector2 p ) : IEnumerable |
||
dirset | this | |
p | IntVector2 | |
리턴 | IEnumerable |
public static ToSurroundingPoints ( this dirset, IntVector3 p ) : IEnumerable |
||
dirset | this | |
p | IntVector3 | |
리턴 | IEnumerable |
public static ToVectors ( this dirset ) : IEnumerable |
||
dirset | this | |
리턴 | IEnumerable |
public static Direction[] CardinalUpDownDirections | ||
리턴 | Direction[] |
public static Direction[] IntercardinalDirections | ||
리턴 | Direction[] |