Class Point
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class Point
생성자
Point(float, float)
선언
public Point(float x, float y)
매개 변수(인자)
타입 |
이름 |
설명 |
float |
x |
X 좌표
|
float |
y |
Y 좌표
|
Point(Vector2)
선언
매개 변수(인자)
타입 |
이름 |
설명 |
UnityEngine.Vector2 |
v |
|
프로퍼티
x
선언
public float x { get; set; }
프로퍼티 값
y
선언
public float y { get; set; }
프로퍼티 값
함수
__call(object, float, float)
선언
[MoonSharpUserDataMetamethod("__call")]
public static Point __call(object self, float x, float y)
매개 변수(인자)
타입 |
이름 |
설명 |
object |
self |
|
float |
x |
|
float |
y |
|
반환
__pairs(Point)
선언
[MoonSharpUserDataMetamethod("__pairs")]
public static DynValue __pairs(Point self)
매개 변수(인자)
반환
타입 |
설명 |
MoonSharp.Interpreter.DynValue |
|
GetDistance(Point, Point)
선언
public static float GetDistance(Point a, Point b)
매개 변수(인자)
반환
Lerp(Point, Point, float)
선언
public static Point Lerp(Point start, Point end, float deltaTime)
매개 변수(인자)
타입 |
이름 |
설명 |
Point |
start |
시작 위치
|
Point |
end |
도착 위치
|
float |
deltaTime |
델타 타임
|
반환
연산자
operator +(Point, Point)
선언
public static Point operator +(Point a, Point b)
매개 변수(인자)
반환
operator /(Point, Point)
선언
public static Point operator /(Point a, Point b)
매개 변수(인자)
반환
implicit operator Point(IntVector2)
선언
public static implicit operator Point(IntVector2 o)
매개 변수(인자)
타입 |
이름 |
설명 |
Core.IntVector2 |
o |
|
반환
implicit operator Vector2(Point)
선언
public static implicit operator Vector2(Point o)
매개 변수(인자)
반환
타입 |
설명 |
UnityEngine.Vector2 |
|
implicit operator Vector3(Point)
선언
public static implicit operator Vector3(Point o)
매개 변수(인자)
반환
타입 |
설명 |
UnityEngine.Vector3 |
|
implicit operator Point(Vector2)
선언
public static implicit operator Point(Vector2 o)
매개 변수(인자)
타입 |
이름 |
설명 |
UnityEngine.Vector2 |
o |
|
반환
implicit operator Point(Vector3)
선언
public static implicit operator Point(Vector3 o)
매개 변수(인자)
타입 |
이름 |
설명 |
UnityEngine.Vector3 |
o |
|
반환
operator *(Point, Point)
선언
public static Point operator *(Point a, Point b)
매개 변수(인자)
반환
operator -(Point, Point)
선언
public static Point operator -(Point a, Point b)
매개 변수(인자)
반환