Class MapSceneViewPreview
[ExecuteAlways]
public sealed class MapSceneViewPreview : MonoBehaviour
- Inheritance
-
object
Object
Component
Behaviour
MonoBehaviour
MapSceneViewPreview
Fields
Distance
[Tooltip("Distance in world units from the source camera to the quad. Push it past world content you want to see in front of the map.")]
public float Distance
Field Value
- float
FlipY
[Tooltip("Flip the mirrored image vertically. On by default, because most graphics systems deliver camera output upside down.")]
public bool FlipY
Field Value
- bool
LockToSourceCamera
[Tooltip("Keep this object's transform snapped to the source camera frustum. Turn off to place the preview plane by hand.")]
public bool LockToSourceCamera
Field Value
- bool
Opacity
[Tooltip("Quad opacity in the scene view.")]
[Range(0, 1)]
public float Opacity
Field Value
- float
SourceCamera
[Tooltip("Camera whose image is mirrored. Empty = Camera.main.")]
public Camera SourceCamera
Field Value
- Camera
Properties
HasImage
public bool HasImage { get; }
Property Value
- bool
Methods
GetWorldCorners(Vector3[])
public void GetWorldCorners(Vector3[] dst)
Parameters
dst Vector3[]