public static FaceCamSetTargetTextureHeight ( int textureHeight ) : void | ||
textureHeight | int | |
Результат | void |
public void faceCamSetTargetTextureHeight(int val) { #if BROADCAST_USE_EVERYPLAY Everyplay.FaceCamSetTargetTextureHeight(val); #else #endif }
void Awake() { targetTexture = new Texture2D(textureSideWidth, textureSideWidth, textureFormat, false); targetTexture.wrapMode = textureWrapMode; if (targetMaterial && targetTexture) { defaultTexture = targetMaterial.mainTexture; Everyplay.FaceCamSetTargetTextureId(targetTexture.GetNativeTextureID()); Everyplay.FaceCamSetTargetTextureWidth(textureSideWidth); Everyplay.FaceCamSetTargetTextureHeight(textureSideWidth); Everyplay.FaceCamSessionStarted += OnSessionStart; Everyplay.FaceCamSessionStopped += OnSessionStop; } }
public void FaceCamSetTargetTextureHeight(int textureHeight) { Everyplay.FaceCamSetTargetTextureHeight(textureHeight); }