Class ApplyToFarPlane
displays the video to the far camera plane
Inheritance
System.Object
ApplyToFarPlane
Assembly: cs.temp.dll.dll
public sealed class ApplyToFarPlane : ApplyToBase
Fields
Declaration
public Vector2 _customScaling
Field Value
Declaration
public Vector2 _drawOffset
Field Value
Properties
Declaration
public float Alpha { get; set; }
Property Value
Type |
Description |
System.Single |
|
Declaration
public Camera Camera { get; set; }
Property Value
Declaration
public Texture Chroma { get; set; }
Property Value
Declaration
public Vector2 CustomScaling { get; set; }
Property Value
DefaultTexture
Declaration
public Texture2D DefaultTexture { get; set; }
Property Value
Type |
Description |
Texture2D |
|
Declaration
public Vector2 DrawOffset { get; set; }
Property Value
MainColor
Declaration
public Color MainColor { get; set; }
Property Value
Declaration
public Vector2 Offset { get; set; }
Property Value
Declaration
public Vector2 Scale { get; set; }
Property Value
Texture
Declaration
public Texture Texture { get; set; }
Property Value
TexturePropertyName
Declaration
public string TexturePropertyName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public VideoAspectRatio VideoAspectRatio { get; set; }
Property Value
Type |
Description |
VideoAspectRatio |
|
Methods
Declaration
public override void Apply()
Overrides
Declaration
Declaration
public void CreateMaterial()
Creates a Quad mesh used for basic rendering
Declaration
public Mesh CreateQuadMesh()
Returns
Type |
Description |
Mesh |
Quad created
|
Declaration
protected override void OnDisable()
Overrides
Declaration
protected override void OnEnable()
Overrides
Declaration
protected override void RestoreProperties()
Overrides
Declaration
protected override void SaveProperties()
Overrides
Declaration
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
|