Class ApplyToMesh
Sets up a mesh to display the video from a MediaPlayer
Inheritance
System.Object
ApplyToMesh
Assembly: cs.temp.dll.dll
public sealed class ApplyToMesh : ApplyToBase
Properties
DefaultTexture
Declaration
public Texture2D DefaultTexture { get; set; }
Property Value
Type |
Description |
Texture2D |
|
Declaration
public int MaterialIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public Renderer MeshRenderer { get; set; }
Property Value
Type |
Description |
Renderer |
|
Declaration
public Vector2 Offset { get; set; }
Property Value
Declaration
public Vector2 Scale { get; set; }
Property Value
TexturePropertyName
Declaration
public string TexturePropertyName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public override void Apply()
Overrides
Declaration
protected override void OnDisable()
Overrides
Declaration
protected override void OnEnable()
Overrides