Search Results for

    Show / Hide Table of Contents

    Class ApplyToMesh

    Sets up a mesh to display the video from a MediaPlayer

    Inheritance
    System.Object
    ApplyToBase
    ApplyToMesh
    Inherited Members
    ApplyToBase.Player
    ApplyToBase.AutomaticStereoPacking
    ApplyToBase.OverrideStereoPacking
    ApplyToBase.StereoRedGreenTint
    ApplyToBase.ForceUpdate()
    ApplyToBase.RestoreProperties()
    Namespace: RenderHeads.Media.AVProVideo
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class ApplyToMesh : ApplyToBase

    Properties

    DefaultTexture

    Declaration
    public Texture2D DefaultTexture { get; set; }
    Property Value
    Type Description
    Texture2D

    MaterialIndex

    Declaration
    public int MaterialIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    MeshRenderer

    Declaration
    public Renderer MeshRenderer { get; set; }
    Property Value
    Type Description
    Renderer

    Offset

    Declaration
    public Vector2 Offset { get; set; }
    Property Value
    Type Description
    Vector2

    Scale

    Declaration
    public Vector2 Scale { get; set; }
    Property Value
    Type Description
    Vector2

    TexturePropertyName

    Declaration
    public string TexturePropertyName { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    Apply()

    Declaration
    public override void Apply()
    Overrides
    ApplyToBase.Apply()

    OnDisable()

    Declaration
    protected override void OnDisable()
    Overrides
    ApplyToBase.OnDisable()

    OnEnable()

    Declaration
    protected override void OnEnable()
    Overrides
    ApplyToBase.OnEnable()

    SaveProperties()

    Declaration
    protected override void SaveProperties()
    Overrides
    ApplyToBase.SaveProperties()
    In This Article