Düzenle

Aracılığıyla paylaş


Billboard Class

Definition

The Billboard class implements the behaviors needed to keep a GameObject oriented towards the user.

public ref class Billboard : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/Billboard")]
public class Billboard : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/Billboard")>]
type Billboard = class
    inherit MonoBehaviour
Public Class Billboard
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
Billboard
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

Billboard()

Properties

PivotAxis

The axis about which the object will rotate.

TargetTransform

The target we will orient to. If no target is specified, the main camera will be used.

Applies to