C# Class Nomad.Logic.CoordinateSystem

显示文件 Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
Standard CoordinateSystem
axisX Nomad.Maths.Vec3
axisY Nomad.Maths.Vec3
axisZ Nomad.Maths.Vec3

Public Methods

Method Description
ConvertFromSystem ( Vec3 pos, CoordinateSystem coords ) : Vec3
ConvertFromWorld ( Vec3 pos ) : Vec3
ConvertToSystem ( Vec3 pos, CoordinateSystem coords ) : Vec3
ConvertToWorld ( Vec3 pos ) : Vec3
CoordinateSystem ( Vec3 x, Vec3 y, Vec3 z ) : System
FromAngles ( Vec3 angles ) : CoordinateSystem
GetPivotPoint ( Vec3 center, AABB bounds, Pivot pivot ) : Vec3
ToAngles ( ) : Vec3

Method Details

ConvertFromSystem() public method

public ConvertFromSystem ( Vec3 pos, CoordinateSystem coords ) : Vec3
pos Nomad.Maths.Vec3
coords CoordinateSystem
return Nomad.Maths.Vec3

ConvertFromWorld() public method

public ConvertFromWorld ( Vec3 pos ) : Vec3
pos Nomad.Maths.Vec3
return Nomad.Maths.Vec3

ConvertToSystem() public method

public ConvertToSystem ( Vec3 pos, CoordinateSystem coords ) : Vec3
pos Nomad.Maths.Vec3
coords CoordinateSystem
return Nomad.Maths.Vec3

ConvertToWorld() public method

public ConvertToWorld ( Vec3 pos ) : Vec3
pos Nomad.Maths.Vec3
return Nomad.Maths.Vec3

CoordinateSystem() public method

public CoordinateSystem ( Vec3 x, Vec3 y, Vec3 z ) : System
x Nomad.Maths.Vec3
y Nomad.Maths.Vec3
z Nomad.Maths.Vec3
return System

FromAngles() public static method

public static FromAngles ( Vec3 angles ) : CoordinateSystem
angles Nomad.Maths.Vec3
return CoordinateSystem

GetPivotPoint() public method

public GetPivotPoint ( Vec3 center, AABB bounds, Pivot pivot ) : Vec3
center Nomad.Maths.Vec3
bounds Nomad.Maths.AABB
pivot Pivot
return Nomad.Maths.Vec3

ToAngles() public method

public ToAngles ( ) : Vec3
return Nomad.Maths.Vec3

Property Details

Standard public_oe static_oe property

public static CoordinateSystem,Nomad.Logic Standard
return CoordinateSystem

axisX public_oe property

public Vec3,Nomad.Maths axisX
return Nomad.Maths.Vec3

axisY public_oe property

public Vec3,Nomad.Maths axisY
return Nomad.Maths.Vec3

axisZ public_oe property

public Vec3,Nomad.Maths axisZ
return Nomad.Maths.Vec3