Show / Hide Table of Contents

Class WebCamTexture

Inheritance
Object
Object
Texture
WebCamTexture
Inherited Members
Texture.masterTextureLimit
Texture.anisotropicFiltering
Texture.SetGlobalAnisotropicFilteringLimits(Int32, Int32)
Texture.width
Texture.height
Texture.dimension
Texture.isReadable
Texture.wrapMode
Texture.wrapModeU
Texture.wrapModeV
Texture.wrapModeW
Texture.filterMode
Texture.anisoLevel
Texture.mipMapBias
Texture.texelSize
Texture.GetNativeTexturePtr()
Texture.GetNativeTextureID()
Texture.updateCount
Texture.IncrementUpdateCount()
Texture.imageContentsHash
Texture.totalTextureMemory
Texture.desiredTextureMemory
Texture.targetTextureMemory
Texture.currentTextureMemory
Texture.nonStreamingTextureMemory
Texture.streamingMipmapUploadCount
Texture.streamingRendererCount
Texture.streamingTextureCount
Texture.nonStreamingTextureCount
Texture.streamingTexturePendingLoadCount
Texture.streamingTextureLoadingCount
Texture.SetStreamingTextureMaterialDebugProperties()
Texture.streamingTextureForceLoadAll
Texture.streamingTextureDiscardUnusedMips
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public sealed class WebCamTexture : Texture

Constructors

| Improve this Doc View Source

WebCamTexture()

Declaration
public WebCamTexture()
| Improve this Doc View Source

WebCamTexture(Int32, Int32)

Declaration
public WebCamTexture(int requestedWidth, int requestedHeight)
Parameters
Type Name Description
Int32 requestedWidth
Int32 requestedHeight
| Improve this Doc View Source

WebCamTexture(Int32, Int32, Int32)

Declaration
public WebCamTexture(int requestedWidth, int requestedHeight, int requestedFPS)
Parameters
Type Name Description
Int32 requestedWidth
Int32 requestedHeight
Int32 requestedFPS
| Improve this Doc View Source

WebCamTexture(String)

Declaration
public WebCamTexture(string deviceName)
Parameters
Type Name Description
String deviceName
| Improve this Doc View Source

WebCamTexture(String, Int32, Int32)

Declaration
public WebCamTexture(string deviceName, int requestedWidth, int requestedHeight)
Parameters
Type Name Description
String deviceName
Int32 requestedWidth
Int32 requestedHeight
| Improve this Doc View Source

WebCamTexture(String, Int32, Int32, Int32)

Declaration
public WebCamTexture(string deviceName, int requestedWidth, int requestedHeight, int requestedFPS)
Parameters
Type Name Description
String deviceName
Int32 requestedWidth
Int32 requestedHeight
Int32 requestedFPS

Properties

| Improve this Doc View Source

autoFocusPoint

Declaration
public Vector2? autoFocusPoint { get; set; }
Property Value
Type Description
Nullable<Vector2>

deviceName

Declaration
public string deviceName { get; set; }
Property Value
Type Description
String

devices

Declaration
public static WebCamDevice[] devices { get; }
Property Value
Type Description
WebCamDevice[]

didUpdateThisFrame

Declaration
public bool didUpdateThisFrame { get; }
Property Value
Type Description
Boolean

isDepth

Declaration
public bool isDepth { get; }
Property Value
Type Description
Boolean

isPlaying

Declaration
public bool isPlaying { get; }
Property Value
Type Description
Boolean

requestedFPS

Declaration
public float requestedFPS { get; set; }
Property Value
Type Description
Single

requestedHeight

Declaration
public int requestedHeight { get; set; }
Property Value
Type Description
Int32

requestedWidth

Declaration
public int requestedWidth { get; set; }
Property Value
Type Description
Int32

videoRotationAngle

Declaration
public int videoRotationAngle { get; }
Property Value
Type Description
Int32

videoVerticallyMirrored

Declaration
public bool videoVerticallyMirrored { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

GetPixel(Int32, Int32)

Declaration
public Color GetPixel(int x, int y)
Parameters
Type Name Description
Int32 x
Int32 y
Returns
Type Description
Color
| Improve this Doc View Source

GetPixels()

Declaration
public Color[] GetPixels()
Returns
Type Description
Color[]

GetPixels(Int32, Int32, Int32, Int32)

Declaration
public Color[] GetPixels(int x, int y, int blockWidth, int blockHeight)
Parameters
Type Name Description
Int32 x
Int32 y
Int32 blockWidth
Int32 blockHeight
Returns
Type Description
Color[]
| Improve this Doc View Source

GetPixels32()

Declaration
[ExcludeFromDocs]
public Color32[] GetPixels32()
Returns
Type Description
Color32[]

GetPixels32(Color32[])

Declaration
public Color32[] GetPixels32([DefaultValue("null")] Color32[] colors)
Parameters
Type Name Description
Color32[] colors
Returns
Type Description
Color32[]
| Improve this Doc View Source

Pause()

Declaration
public void Pause()
| Improve this Doc View Source

Play()

Declaration
public void Play()
| Improve this Doc View Source

Stop()

Declaration
public void Stop()

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX