C# Class Dwarrowdelf.Client.MyExtensions

显示文件 Open project: tomba/dwarrowdelf

Public Methods

Method Description
ToFloorIntVector3 ( this v ) : IntVector3
ToIntVector3 ( this v ) : IntVector3
ToVector3 ( this v ) : System.Vector3
ToWindowsColor ( this color ) : Color

Method Details

ToFloorIntVector3() public static method

public static ToFloorIntVector3 ( this v ) : IntVector3
v this
return IntVector3

ToIntVector3() public static method

public static ToIntVector3 ( this v ) : IntVector3
v this
return IntVector3

ToVector3() public static method

public static ToVector3 ( this v ) : System.Vector3
v this
return System.Vector3

ToWindowsColor() public static method

public static ToWindowsColor ( this color ) : Color
color this
return System.Windows.Media.Color