C# 클래스 SEToolbox.Interop.SpaceEngineersExtensions

Contains Extension methods specifically for Keen classes and structures.
파일 보기 프로젝트 열기: midspace/SEToolbox

공개 메소드들

메소드 설명
Abs ( this size ) : Vector3I
Add ( this size, int value ) : VRage.SerializableVector3I
Add ( this size, int value ) : Vector3I
GetDefinition ( this definitionManager, MyObjectBuilderType typeId, string subTypeId ) : MyDefinitionBase
GetGasDefinitions ( this definitionManager ) : List
GetInventory ( this componentContainer, Sandbox.Definitions.MyCubeBlockDefinition definition = null ) : ObservableCollection
GetVoxelDisplayTexture ( this voxelMaterialDefinition ) : string
IntersectsRayAt ( this boundingBox, Vector3D position, Vector3D rayTo ) : Vector3D?
LinearVector ( this vector ) : double
Read7BitEncodedInt ( this reader ) : int
RoundOff ( this vector, float roundTo ) : VRage.SerializableVector3
RoundOff ( this vector, float roundTo ) : VRage.SerializableVector3D
RoundToAxis ( this vector ) : VRage.SerializableVector3
RoundToVector3I ( this vector ) : Vector3I
SizeInt ( this box ) : Vector3I
ToFixedPoint ( this value ) : VRage.MyFixedPoint
ToLength ( this cubeSize ) : float

Returns block size.

see: http://spaceengineerswiki.com/index.php?title=FAQs Why are the blocks 0.5 and 2.5 meter blocks?

ToMatrix ( this positionOrientation ) : System.Matrix
ToMatrixD ( this value ) : MatrixD
ToPoint ( this vector ) : System.Windows.Point
ToPoint3D ( this vector ) : System.Windows.Media.Media3D.Point3D
ToQuaternion ( this blockOrientation ) : Quaternion
ToQuaternionD ( this positionOrientation ) : VRageMath.QuaternionD
ToSandboxDrawingColor ( this hsv ) : System.Drawing.Color
ToSandboxHsvColor ( this color ) : VRage.SerializableVector3
ToSandboxMediaColor ( this hsv ) : System.Windows.Media.Color
ToVector3 ( this vector ) : System.Vector3
ToVector3D ( this vector ) : System.Windows.Media.Media3D.Vector3D
ToVector3D ( this vector ) : Vector3D
ToVector3I ( this vector ) : Vector3I
Transform ( this value, Quaternion rotation ) : VRage.SerializableVector3UByte
Transform ( this vector, VRage.Game.SerializableBlockOrientation orientation ) : System.Vector3
Transform ( this value, VRageMath.QuaternionD rotation ) : Vector3D
Transform ( this vector, VRage.Game.SerializableBlockOrientation orientation ) : Vector3D
Transform ( this size, VRage.Game.SerializableBlockOrientation orientation ) : Vector3I

비공개 메소드들

메소드 설명
Mirror ( this vector, Mirror xMirror, int xAxis, Mirror yMirror, int yAxis, Mirror zMirror, int zAxis ) : VRage.SerializableVector3I
ParseInventory ( VRage.Game.MyObjectBuilder_Inventory inventory, Sandbox.Definitions.MyCubeBlockDefinition definition = null ) : InventoryEditorModel

메소드 상세

Abs() 공개 정적인 메소드

public static Abs ( this size ) : Vector3I
size this
리턴 Vector3I

Add() 공개 정적인 메소드

public static Add ( this size, int value ) : VRage.SerializableVector3I
size this
value int
리턴 VRage.SerializableVector3I

Add() 공개 정적인 메소드

public static Add ( this size, int value ) : Vector3I
size this
value int
리턴 Vector3I

GetDefinition() 공개 정적인 메소드

public static GetDefinition ( this definitionManager, MyObjectBuilderType typeId, string subTypeId ) : MyDefinitionBase
definitionManager this
typeId MyObjectBuilderType
subTypeId string
리턴 MyDefinitionBase

GetGasDefinitions() 공개 정적인 메소드

public static GetGasDefinitions ( this definitionManager ) : List
definitionManager this
리턴 List

GetInventory() 공개 정적인 메소드

public static GetInventory ( this componentContainer, Sandbox.Definitions.MyCubeBlockDefinition definition = null ) : ObservableCollection
componentContainer this
definition Sandbox.Definitions.MyCubeBlockDefinition
리턴 ObservableCollection

GetVoxelDisplayTexture() 공개 정적인 메소드

public static GetVoxelDisplayTexture ( this voxelMaterialDefinition ) : string
voxelMaterialDefinition this
리턴 string

IntersectsRayAt() 공개 정적인 메소드

public static IntersectsRayAt ( this boundingBox, Vector3D position, Vector3D rayTo ) : Vector3D?
boundingBox this
position Vector3D
rayTo Vector3D
리턴 Vector3D?

LinearVector() 공개 정적인 메소드

public static LinearVector ( this vector ) : double
vector this
리턴 double

Read7BitEncodedInt() 공개 정적인 메소드

public static Read7BitEncodedInt ( this reader ) : int
reader this
리턴 int

RoundOff() 공개 정적인 메소드

public static RoundOff ( this vector, float roundTo ) : VRage.SerializableVector3
vector this
roundTo float
리턴 VRage.SerializableVector3

RoundOff() 공개 정적인 메소드

public static RoundOff ( this vector, float roundTo ) : VRage.SerializableVector3D
vector this
roundTo float
리턴 VRage.SerializableVector3D

RoundToAxis() 공개 정적인 메소드

public static RoundToAxis ( this vector ) : VRage.SerializableVector3
vector this
리턴 VRage.SerializableVector3

RoundToVector3I() 공개 정적인 메소드

public static RoundToVector3I ( this vector ) : Vector3I
vector this
리턴 Vector3I

SizeInt() 공개 정적인 메소드

public static SizeInt ( this box ) : Vector3I
box this
리턴 Vector3I

ToFixedPoint() 공개 정적인 메소드

public static ToFixedPoint ( this value ) : VRage.MyFixedPoint
value this
리턴 VRage.MyFixedPoint

ToLength() 공개 정적인 메소드

Returns block size.
see: http://spaceengineerswiki.com/index.php?title=FAQs Why are the blocks 0.5 and 2.5 meter blocks?
public static ToLength ( this cubeSize ) : float
cubeSize this
리턴 float

ToMatrix() 공개 정적인 메소드

public static ToMatrix ( this positionOrientation ) : System.Matrix
positionOrientation this
리턴 System.Matrix

ToMatrixD() 공개 정적인 메소드

public static ToMatrixD ( this value ) : MatrixD
value this
리턴 MatrixD

ToPoint() 공개 정적인 메소드

public static ToPoint ( this vector ) : System.Windows.Point
vector this
리턴 System.Windows.Point

ToPoint3D() 공개 정적인 메소드

public static ToPoint3D ( this vector ) : System.Windows.Media.Media3D.Point3D
vector this
리턴 System.Windows.Media.Media3D.Point3D

ToQuaternion() 공개 정적인 메소드

public static ToQuaternion ( this blockOrientation ) : Quaternion
blockOrientation this
리턴 Quaternion

ToQuaternionD() 공개 정적인 메소드

public static ToQuaternionD ( this positionOrientation ) : VRageMath.QuaternionD
positionOrientation this
리턴 VRageMath.QuaternionD

ToSandboxDrawingColor() 공개 정적인 메소드

public static ToSandboxDrawingColor ( this hsv ) : System.Drawing.Color
hsv this
리턴 System.Drawing.Color

ToSandboxHsvColor() 공개 정적인 메소드

public static ToSandboxHsvColor ( this color ) : VRage.SerializableVector3
color this
리턴 VRage.SerializableVector3

ToSandboxMediaColor() 공개 정적인 메소드

public static ToSandboxMediaColor ( this hsv ) : System.Windows.Media.Color
hsv this
리턴 System.Windows.Media.Color

ToVector3() 공개 정적인 메소드

public static ToVector3 ( this vector ) : System.Vector3
vector this
리턴 System.Vector3

ToVector3D() 공개 정적인 메소드

public static ToVector3D ( this vector ) : System.Windows.Media.Media3D.Vector3D
vector this
리턴 System.Windows.Media.Media3D.Vector3D

ToVector3D() 공개 정적인 메소드

public static ToVector3D ( this vector ) : Vector3D
vector this
리턴 Vector3D

ToVector3I() 공개 정적인 메소드

public static ToVector3I ( this vector ) : Vector3I
vector this
리턴 Vector3I

Transform() 공개 정적인 메소드

public static Transform ( this value, Quaternion rotation ) : VRage.SerializableVector3UByte
value this
rotation Quaternion
리턴 VRage.SerializableVector3UByte

Transform() 공개 정적인 메소드

public static Transform ( this vector, VRage.Game.SerializableBlockOrientation orientation ) : System.Vector3
vector this
orientation VRage.Game.SerializableBlockOrientation
리턴 System.Vector3

Transform() 공개 정적인 메소드

public static Transform ( this value, VRageMath.QuaternionD rotation ) : Vector3D
value this
rotation VRageMath.QuaternionD
리턴 Vector3D

Transform() 공개 정적인 메소드

public static Transform ( this vector, VRage.Game.SerializableBlockOrientation orientation ) : Vector3D
vector this
orientation VRage.Game.SerializableBlockOrientation
리턴 Vector3D

Transform() 공개 정적인 메소드

public static Transform ( this size, VRage.Game.SerializableBlockOrientation orientation ) : Vector3I
size this
orientation VRage.Game.SerializableBlockOrientation
리턴 Vector3I