C# 클래스 Valve.VR.InteractionSystem.TeleportArc

상속: MonoBehaviour
파일 보기 프로젝트 열기: HelloKS/MaiMai-VR 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
material Material
segmentCount int
thickness float

공개 메소드들

메소드 설명
DrawArc ( RaycastHit &hitInfo ) : bool
GetArcPositionAtTime ( float time ) : Vector3
Hide ( ) : void
SetArcData ( Vector3 position, Vector3 velocity, bool gravity, bool pointerAtBadAngle ) : void
SetColor ( Color color ) : void
Show ( ) : void
Start ( ) : void
Update ( ) : void

비공개 메소드들

메소드 설명
CreateLineRendererObjects ( ) : void
DrawArcSegment ( int index, float startTime, float endTime ) : void
FindProjectileCollision ( RaycastHit &hitInfo ) : float
HideLineSegments ( int startSegment, int endSegment ) : void

메소드 상세

DrawArc() 공개 메소드

public DrawArc ( RaycastHit &hitInfo ) : bool
hitInfo RaycastHit
리턴 bool

GetArcPositionAtTime() 공개 메소드

public GetArcPositionAtTime ( float time ) : Vector3
time float
리턴 Vector3

Hide() 공개 메소드

public Hide ( ) : void
리턴 void

SetArcData() 공개 메소드

public SetArcData ( Vector3 position, Vector3 velocity, bool gravity, bool pointerAtBadAngle ) : void
position Vector3
velocity Vector3
gravity bool
pointerAtBadAngle bool
리턴 void

SetColor() 공개 메소드

public SetColor ( Color color ) : void
color Color
리턴 void

Show() 공개 메소드

public Show ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

material 공개적으로 프로퍼티

public Material material
리턴 Material

segmentCount 공개적으로 프로퍼티

public int segmentCount
리턴 int

thickness 공개적으로 프로퍼티

public float thickness
리턴 float