Search Results for

    Show / Hide Table of Contents

    Resolve To RenderTexture

    alt_text

    Renders a video from the MediaPlayer component to a Unity RenderTexture, optionally adjusting the colours and resolving the texture.

    Properties
    Property Function
    Media Player The MediaPlayer component to display
    Resolve Flags Optional flags for how to resolve the texture. Stereo eye can be selected, mip-maps can be generated, alpha can be unpacked.
    External Texture Optional RenderTexture to render into. This will cause an extra texture copy to occur. This can also be set using the ExternalTexture API property. If no external texture is set then the component generates a RenderTexture the same dimensions as the source video and this is available via the API property TargetTexture.
    Apply HSBC Whether to apply HSBC colour adjustments (Hue, Saturation, Brightness, Contast, Gamma)
        Hue Hue adjustment
        Saturation Saturation adjustment
        Brightness Brightness adjustment
        Contrast Contrast adjustment
        Gamma Gamma adjustment
    Tint Tint the colour and transparency

     

    In This Article