Modifica

Condividi tramite


CameraFaderQuad Class

Definition

Quad-based implementation if ICameraFader. Instantiates quads in front of cameras to achieve fade out / in effect.

public ref class CameraFaderQuad : Microsoft::MixedReality::Toolkit::Extensions::SceneTransitions::ICameraFader
public class CameraFaderQuad : Microsoft.MixedReality.Toolkit.Extensions.SceneTransitions.ICameraFader
type CameraFaderQuad = class
    interface ICameraFader
Public Class CameraFaderQuad
Implements ICameraFader
Inheritance
CameraFaderQuad
Implements

Constructors

CameraFaderQuad()

Properties

State System.Object.State

Methods

FadeInAsync(Single)

Applies a fade-in effect over time. Must be called after FadeOutAsync has completed.

FadeOutAsync(Single, Color, IEnumerable<Camera>)

Applies a fade-out effect over time.

Initialize(SceneTransitionServiceProfile)

Initializes the camera fader class with a transition profile.

OnDestroy()

Used to destroy any assets created. May be called in middle of a transition.

Applies to