Table of Contents

Method SetupMaterialForMedia

Namespace
RenderHeads.Media.AVProVideo
Assembly
AVProVideo.Runtime.dll

SetupMaterialForMedia(Material, MediaPlayer, int, Texture, bool)

public static void SetupMaterialForMedia(Material material, MediaPlayer mediaPlayer, int texturePropId = -1, Texture fallbackTexture = null, bool forceFallbackTexture = false)

Parameters

material Material
mediaPlayer MediaPlayer
texturePropId int
fallbackTexture Texture
forceFallbackTexture bool