C# 클래스 Curves.Curve

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

공개 프로퍼티들

프로퍼티 타입 설명
BankColor UnityEngine.Color
ControlPoints UnityEngine.Vector3[]
CurvatureColor UnityEngine.Color
Length float
MaxBankAngle float
NormalColor UnityEngine.Color
Resolution int
SplineColor UnityEngine.Color
TangentColor UnityEngine.Color

공개 메소드들

메소드 설명
Draw ( ) : void
Evaluate ( float t, Vector3 &tangent, Vector3 &curvature ) : Vector3
GetBankAngle ( Vector3 tangent, Vector3 curvature, float maxBank ) : float
GetCurvePoints ( ) : Curves.CurvePoint[]
MeasureCurve ( ) : void

보호된 메소드들

메소드 설명
Curve ( int resolution, Vector3 controlPoints ) : UnityEngine
FixNormals ( CurvePoint &curvePoints ) : void
GetCurvePositions ( Curve curve, int resolution, Vector3 controlPoints ) : UnityEngine.Vector3[]

메소드 상세

Curve() 보호된 메소드

protected Curve ( int resolution, Vector3 controlPoints ) : UnityEngine
resolution int
controlPoints UnityEngine.Vector3
리턴 UnityEngine

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Evaluate() 공개 추상적인 메소드

public abstract Evaluate ( float t, Vector3 &tangent, Vector3 &curvature ) : Vector3
t float
tangent UnityEngine.Vector3
curvature UnityEngine.Vector3
리턴 UnityEngine.Vector3

FixNormals() 보호된 정적인 메소드

protected static FixNormals ( CurvePoint &curvePoints ) : void
curvePoints CurvePoint
리턴 void

GetBankAngle() 공개 정적인 메소드

public static GetBankAngle ( Vector3 tangent, Vector3 curvature, float maxBank ) : float
tangent UnityEngine.Vector3
curvature UnityEngine.Vector3
maxBank float
리턴 float

GetCurvePoints() 공개 추상적인 메소드

public abstract GetCurvePoints ( ) : Curves.CurvePoint[]
리턴 Curves.CurvePoint[]

GetCurvePositions() 보호된 정적인 메소드

protected static GetCurvePositions ( Curve curve, int resolution, Vector3 controlPoints ) : UnityEngine.Vector3[]
curve Curve
resolution int
controlPoints UnityEngine.Vector3
리턴 UnityEngine.Vector3[]

MeasureCurve() 공개 추상적인 메소드

public abstract MeasureCurve ( ) : void
리턴 void

프로퍼티 상세

BankColor 공개적으로 프로퍼티

public Color,UnityEngine BankColor
리턴 UnityEngine.Color

ControlPoints 공개적으로 프로퍼티

public Vector3[],UnityEngine ControlPoints
리턴 UnityEngine.Vector3[]

CurvatureColor 공개적으로 프로퍼티

public Color,UnityEngine CurvatureColor
리턴 UnityEngine.Color

Length 공개적으로 프로퍼티

public float Length
리턴 float

MaxBankAngle 공개적으로 정적으로 프로퍼티

public static float MaxBankAngle
리턴 float

NormalColor 공개적으로 프로퍼티

public Color,UnityEngine NormalColor
리턴 UnityEngine.Color

Resolution 공개적으로 프로퍼티

public int Resolution
리턴 int

SplineColor 공개적으로 프로퍼티

public Color,UnityEngine SplineColor
리턴 UnityEngine.Color

TangentColor 공개적으로 프로퍼티

public Color,UnityEngine TangentColor
리턴 UnityEngine.Color