프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Random |
메소드 | 설명 | |
---|---|---|
ApproximatelyEqual ( double left, double right, double epsilon = 0.001 ) : bool | ||
FromUnixTimestamp ( int unixTimestamp ) : System.DateTime |
Creates a new System.DateTime from the specified timestamp (time measured in the number of seconds).
|
|
Magnitude ( this vector ) : double | ||
Multiply ( this vector, double coefficient ) : Vector3 | ||
NormalizeOrientation ( this angle ) : double | ||
NormalizeTurn ( this angle ) : double | ||
PointToSegmentDistance ( Vector3 segmentBegin, Vector3 segmentEnd, Vector3 point ) : double | ||
PrintTimeSpan ( this time, bool isInPast = true ) : string | ||
Quadrance ( this vector ) : double | ||
SphereIntersectsLineSegment ( Vector3 segmentBegin, Vector3 segmentEnd, Vector3 sphereCenter, double radius ) : bool | ||
UnixTimestamp ( System.DateTime dateTime ) : int |
Returns the specified time measured in the number of seconds.
|
|
randomBool ( ) : bool |
메소드 | 설명 | |
---|---|---|
_NormalizeAngle ( this angle, double lowerBound, double upperBound, double range = 2*Math.PI ) : double |
public static ApproximatelyEqual ( double left, double right, double epsilon = 0.001 ) : bool | ||
left | double | |
right | double | |
epsilon | double | |
리턴 | bool |
public static FromUnixTimestamp ( int unixTimestamp ) : System.DateTime | ||
unixTimestamp | int | The timestamp that represents the date to be created. |
리턴 | System.DateTime |
public static Multiply ( this vector, double coefficient ) : Vector3 | ||
vector | this | |
coefficient | double | |
리턴 | Vector3 |
public static NormalizeOrientation ( this angle ) : double | ||
angle | this | |
리턴 | double |
public static PointToSegmentDistance ( Vector3 segmentBegin, Vector3 segmentEnd, Vector3 point ) : double | ||
segmentBegin | Vector3 | |
segmentEnd | Vector3 | |
point | Vector3 | |
리턴 | double |
public static PrintTimeSpan ( this time, bool isInPast = true ) : string | ||
time | this | |
isInPast | bool | |
리턴 | string |
public static SphereIntersectsLineSegment ( Vector3 segmentBegin, Vector3 segmentEnd, Vector3 sphereCenter, double radius ) : bool | ||
segmentBegin | Vector3 | |
segmentEnd | Vector3 | |
sphereCenter | Vector3 | |
radius | double | |
리턴 | bool |
public static UnixTimestamp ( System.DateTime dateTime ) : int | ||
dateTime | System.DateTime | The System.DateTime to obtain the number of seconds from. |
리턴 | int |