Search Results for

    Show / Hide Table of Contents

    Class ApplyToFarPlane

    displays the video to the far camera plane

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

    Fields

    _customScaling

    Declaration
    public Vector2 _customScaling
    Field Value
    Type Description
    Vector2

    _drawOffset

    Declaration
    public Vector2 _drawOffset
    Field Value
    Type Description
    Vector2

    Properties

    Alpha

    Declaration
    public float Alpha { get; set; }
    Property Value
    Type Description
    System.Single

    Camera

    Declaration
    public Camera Camera { get; set; }
    Property Value
    Type Description
    Camera

    Chroma

    Declaration
    public Texture Chroma { get; set; }
    Property Value
    Type Description
    Texture

    CustomScaling

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

    DefaultTexture

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

    DrawOffset

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

    MainColor

    Declaration
    public Color MainColor { get; set; }
    Property Value
    Type Description
    Color

    Offset

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

    Scale

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

    Texture

    Declaration
    public Texture Texture { get; set; }
    Property Value
    Type Description
    Texture

    TexturePropertyName

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

    VideoAspectRatio

    Declaration
    public VideoAspectRatio VideoAspectRatio { get; set; }
    Property Value
    Type Description
    VideoAspectRatio

    Methods

    Apply()

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

    Awake()

    Declaration
    public void Awake()

    CreateMaterial()

    Declaration
    public void CreateMaterial()

    CreateQuadMesh()

    Creates a Quad mesh used for basic rendering

    Declaration
    public Mesh CreateQuadMesh()
    Returns
    Type Description
    Mesh

    Quad created

    OnDisable()

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

    OnEnable()

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

    RestoreProperties()

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

    SaveProperties()

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

    Update()

    Declaration
    public void Update()

    UpdateMaterialProperties(Int32)

    Called via the Editor compoenent, this will allow updating of the material properties when they are changed rather than updating them each frame

    Declaration
    public void UpdateMaterialProperties(int target)
    Parameters
    Type Name Description
    System.Int32 target

    Which material property was effected

    In This Article