C# 클래스 SpringFollowCamera, unity-network-sample

상속: MonoBehaviour
파일 보기 프로젝트 열기: anchan828/unity-network-sample

공개 프로퍼티들

프로퍼티 타입 설명
clampHeadPositionScreenSpace float
distance float
height float
lineOfSightMask LayerMask
maxSpeed float
smoothLag float
snapLag float
target Transform

공개 메소드들

메소드 설명
Apply ( Transform dummyTarget, Vector3 dummyCenter ) : void
ApplyPositionDamping ( Vector3 targetCenter ) : void
ApplySnapping ( Vector3 targetCenter ) : void
Awake ( ) : void
DidChangeTarget ( ) : void
LateUpdate ( ) : void
SetTarget ( Transform t ) : void
SetUpRotation ( Vector3 centerPos, Vector3 headPos ) : void

비공개 메소드들

메소드 설명
AdjustLineOfSight ( Vector3 newPosition, Vector3 target ) : Vector3
AngleDistance ( float a, float b ) : float
GetCenterOffset ( ) : Vector3

메소드 상세

Apply() 공개 메소드

public Apply ( Transform dummyTarget, Vector3 dummyCenter ) : void
dummyTarget Transform
dummyCenter Vector3
리턴 void

ApplyPositionDamping() 공개 메소드

public ApplyPositionDamping ( Vector3 targetCenter ) : void
targetCenter Vector3
리턴 void

ApplySnapping() 공개 메소드

public ApplySnapping ( Vector3 targetCenter ) : void
targetCenter Vector3
리턴 void

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

DidChangeTarget() 공개 메소드

public DidChangeTarget ( ) : void
리턴 void

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

SetTarget() 공개 메소드

public SetTarget ( Transform t ) : void
t Transform
리턴 void

SetUpRotation() 공개 메소드

public SetUpRotation ( Vector3 centerPos, Vector3 headPos ) : void
centerPos Vector3
headPos Vector3
리턴 void

프로퍼티 상세

clampHeadPositionScreenSpace 공개적으로 프로퍼티

public float clampHeadPositionScreenSpace
리턴 float

distance 공개적으로 프로퍼티

public float distance
리턴 float

height 공개적으로 프로퍼티

public float height
리턴 float

lineOfSightMask 공개적으로 프로퍼티

public LayerMask lineOfSightMask
리턴 LayerMask

maxSpeed 공개적으로 프로퍼티

public float maxSpeed
리턴 float

smoothLag 공개적으로 프로퍼티

public float smoothLag
리턴 float

snapLag 공개적으로 프로퍼티

public float snapLag
리턴 float

target 공개적으로 프로퍼티

public Transform target
리턴 Transform