C# 클래스 Vector3D, UnityUtils

파일 보기 프로젝트 열기: mortennobel/UnityUtils 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
x double
y double
z double

Private Properties

프로퍼티 타입 설명
Clamp double
Clamp01 double

공개 메소드들

메소드 설명
ClampMagnitude ( Vector3D, vector, double maxLength ) : Vector3D,
Cross ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
Distance ( Vector3D, a, Vector3D, b ) : double
Dot ( Vector3D, lhs, Vector3D, rhs ) : double
Equals ( object other ) : bool
GetHashCode ( ) : int
Lerp ( Vector3D, from, Vector3D, to, double t ) : Vector3D,
Magnitude ( Vector3D, a ) : double
Max ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
Min ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
MoveTowards ( Vector3D, current, Vector3D, target, double maxDistanceDelta ) : Vector3D,
Normalize ( Vector3D, value ) : Vector3D,
Normalize ( ) : void
Project ( Vector3D, vector, Vector3D, onNormal ) : Vector3D,
ProjectOnPlane ( Vector3D, vector, Vector3D, planeNormal ) : Vector3D,
Reflect ( Vector3D, inDirection, Vector3D, inNormal ) : Vector3D,
Scale ( Vector3D, a, Vector3D, b ) : Vector3D,
Scale ( Vector3D, scale ) : void
Set ( double new_x, double new_y, double new_z ) : void
SqrMagnitude ( Vector3D, a ) : double
ToString ( ) : string
ToString ( string format ) : string
ToVector3 ( ) : Vector3
Vector3D ( Vector3 v ) : System
Vector3D ( double x, double y ) : System
Vector3D ( double x, double y, double z ) : System
operator ( ) : Vector3D,
operator ( ) : bool
this ( int index ) : double

비공개 메소드들

메소드 설명
Clamp ( double value, double min, double max ) : double
Clamp01 ( double value ) : double

메소드 상세

ClampMagnitude() 공개 정적인 메소드

public static ClampMagnitude ( Vector3D, vector, double maxLength ) : Vector3D,
vector Vector3D,
maxLength double
리턴 Vector3D,

Cross() 공개 정적인 메소드

public static Cross ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
lhs Vector3D,
rhs Vector3D,
리턴 Vector3D,

Distance() 공개 정적인 메소드

public static Distance ( Vector3D, a, Vector3D, b ) : double
a Vector3D,
b Vector3D,
리턴 double

Dot() 공개 정적인 메소드

public static Dot ( Vector3D, lhs, Vector3D, rhs ) : double
lhs Vector3D,
rhs Vector3D,
리턴 double

Equals() 공개 메소드

public Equals ( object other ) : bool
other object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Lerp() 공개 정적인 메소드

public static Lerp ( Vector3D, from, Vector3D, to, double t ) : Vector3D,
from Vector3D,
to Vector3D,
t double
리턴 Vector3D,

Magnitude() 공개 정적인 메소드

public static Magnitude ( Vector3D, a ) : double
a Vector3D,
리턴 double

Max() 공개 정적인 메소드

public static Max ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
lhs Vector3D,
rhs Vector3D,
리턴 Vector3D,

Min() 공개 정적인 메소드

public static Min ( Vector3D, lhs, Vector3D, rhs ) : Vector3D,
lhs Vector3D,
rhs Vector3D,
리턴 Vector3D,

MoveTowards() 공개 정적인 메소드

public static MoveTowards ( Vector3D, current, Vector3D, target, double maxDistanceDelta ) : Vector3D,
current Vector3D,
target Vector3D,
maxDistanceDelta double
리턴 Vector3D,

Normalize() 공개 정적인 메소드

public static Normalize ( Vector3D, value ) : Vector3D,
value Vector3D,
리턴 Vector3D,

Normalize() 공개 메소드

public Normalize ( ) : void
리턴 void

Project() 공개 정적인 메소드

public static Project ( Vector3D, vector, Vector3D, onNormal ) : Vector3D,
vector Vector3D,
onNormal Vector3D,
리턴 Vector3D,

ProjectOnPlane() 공개 정적인 메소드

public static ProjectOnPlane ( Vector3D, vector, Vector3D, planeNormal ) : Vector3D,
vector Vector3D,
planeNormal Vector3D,
리턴 Vector3D,

Reflect() 공개 정적인 메소드

public static Reflect ( Vector3D, inDirection, Vector3D, inNormal ) : Vector3D,
inDirection Vector3D,
inNormal Vector3D,
리턴 Vector3D,

Scale() 공개 정적인 메소드

public static Scale ( Vector3D, a, Vector3D, b ) : Vector3D,
a Vector3D,
b Vector3D,
리턴 Vector3D,

Scale() 공개 메소드

public Scale ( Vector3D, scale ) : void
scale Vector3D,
리턴 void

Set() 공개 메소드

public Set ( double new_x, double new_y, double new_z ) : void
new_x double
new_y double
new_z double
리턴 void

SqrMagnitude() 공개 정적인 메소드

public static SqrMagnitude ( Vector3D, a ) : double
a Vector3D,
리턴 double

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( string format ) : string
format string
리턴 string

ToVector3() 공개 메소드

public ToVector3 ( ) : Vector3
리턴 Vector3

Vector3D() 공개 메소드

public Vector3D ( Vector3 v ) : System
v Vector3
리턴 System

Vector3D() 공개 메소드

public Vector3D ( double x, double y ) : System
x double
y double
리턴 System

Vector3D() 공개 메소드

public Vector3D ( double x, double y, double z ) : System
x double
y double
z double
리턴 System

operator() 공개 정적인 메소드

public static operator ( ) : Vector3D,
리턴 Vector3D,

operator() 공개 정적인 메소드

public static operator ( ) : bool
리턴 bool

this() 공개 메소드

public this ( int index ) : double
index int
리턴 double

프로퍼티 상세

x 공개적으로 프로퍼티

public double x
리턴 double

y 공개적으로 프로퍼티

public double y
리턴 double

z 공개적으로 프로퍼티

public double z
리턴 double