Skip to content

Commit 28cdabe

Browse files
committed
expose setting RequestedWidth, RequestedHeight and RequestedFPS in the WebCamWidget.
1 parent 5a1886b commit 28cdabe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Scripts/Widgets/WebCamWidget.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,15 @@ public WebCamTexture WebCamTexture
139139
public int RequestedWidth
140140
{
141141
get { return m_RequestedWidth; }
142+
set { m_RequestedWidth = value; }
142143
}
143144
/// <summary>
144145
/// The requested height of the WebCamTexture.
145146
/// </summary>
146147
public int RequestedHeight
147148
{
148149
get { return m_RequestedHeight; }
150+
set { m_RequestedHeight = value; }
149151
}
150152

151153
/// <summary>
@@ -154,6 +156,7 @@ public int RequestedHeight
154156
public int RequestedFPS
155157
{
156158
get { return m_RequestedFPS; }
159+
set { m_RequestedFPS = value; }
157160
}
158161
#endregion
159162

0 commit comments

Comments
 (0)