Drought.Entity.MovableEntity.getOrientation C# (CSharp) Method

getOrientation() public method

public getOrientation ( ) : Matrix
return Matrix
        public Matrix getOrientation()
        {
            return orientation;
        }

Usage Example

Example #1
0
 public void sendPos(MovableEntity entity)
 {
     packetWriter.Write(entity.uniqueID);
     packetWriter.Write(entity.getPosition());
     packetWriter.Write(entity.getOrientation());
     session.LocalGamers[0].SendData(packetWriter, SendDataOptions.None);
 }