[This is preliminary documentation and is subject to change.]

Struct representing a position AND orientation. Takes up 8 bytes of memory. Use Vector3I if you just need X/Y/Z coordinates without orientation. Note that, as a struct, Positions are COPIED when assigned or passed as an argument.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.2.4 (0.6.2.4)

Syntax

   
 C# 
public struct Position : IEquatable<Position>

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Position(Int32, Int32, Int32)
Initializes a new instance of the Position class
Position(Int16, Int16, Int16, Byte, Byte)
Initializes a new instance of the Position class
DistanceSquaredTo(Position)
Equality(Position, Position)
Equals(Object) (Overrides ValueType..::..Equals(Object).)
Equals(Position)
ExplicitNarrowingExplicitExplicitExplicit(Position to Vector3I)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetFixed()()()()
GetHashCode()()()() (Overrides ValueType..::..GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(Position, Position)
IsZero
L
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
R
ToBlockCoords()()()()
ToString()()()() (Overrides ValueType..::..ToString()()()().)
ToVector3I()()()()
X
Y
Z
Zero

See Also