C# Class Valve.VR.InteractionSystem.TeleportArc

Inheritance: MonoBehaviour
Afficher le fichier Open project: HelloKS/MaiMai-VR Class Usage Examples

Méthodes publiques

Свойство Type Description
material Material
segmentCount int
thickness float

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateLineRendererObjects ( ) : void
DrawArcSegment ( int index, float startTime, float endTime ) : void
FindProjectileCollision ( RaycastHit &hitInfo ) : float
HideLineSegments ( int startSegment, int endSegment ) : void

Method Details

DrawArc() public méthode

public DrawArc ( RaycastHit &hitInfo ) : bool
hitInfo RaycastHit
Résultat bool

GetArcPositionAtTime() public méthode

public GetArcPositionAtTime ( float time ) : Vector3
time float
Résultat Vector3

Hide() public méthode

public Hide ( ) : void
Résultat void

SetArcData() public méthode

public SetArcData ( Vector3 position, Vector3 velocity, bool gravity, bool pointerAtBadAngle ) : void
position Vector3
velocity Vector3
gravity bool
pointerAtBadAngle bool
Résultat void

SetColor() public méthode

public SetColor ( Color color ) : void
color Color
Résultat void

Show() public méthode

public Show ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

material public_oe property

public Material material
Résultat Material

segmentCount public_oe property

public int segmentCount
Résultat int

thickness public_oe property

public float thickness
Résultat float