コンテンツにスキップ

OverlayTexture クラス

Sets the texture displayed by an overlay.

名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll

public sealed class OverlayTexture

object ← OverlayTexture

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Sets the texture displayed by an overlay.

public OverlayTexture(ulong overlayHandle)

overlayHandle ulong

The overlay handle to control.

Loads the overlay texture from an image file.

public void FromFile(string path)

path string

The image path passed to OpenVR.

Sets the overlay texture from an OpenVR texture descriptor.

public void FromTexture_t(Texture_t texture)

texture Texture_t

The texture descriptor to submit.