Class ApplyToVfxGraph
Sets the texture from the MediaPlayer to a texture parameter in a VFX Graph
Inheritance
System.Object
ApplyToVfxGraph
Assembly: cs.temp.dll.dll
public class ApplyToVfxGraph : MonoBehaviour
Properties
DefaultTexture
Declaration
public Texture2D DefaultTexture { get; set; }
Property Value
Type |
Description |
Texture2D |
|
Declaration
public MediaPlayer MediaPlayer { get; set; }
Property Value
TexturePropertyName
Declaration
public string TexturePropertyName { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public VisualEffect VisualEffect { get; set; }
Property Value
Type |
Description |
VisualEffect |
|
Methods
Declaration
public void ForceUpdate()