Gets or sets the camera distance from the viewing screen.
Syntax
Visual Basic (Declaration) |
|
Public Property Distance As Integer |
Visual Basic (Usage) |
Copy Code |
Dim instance As TunnelCommand
Dim value As Integer
instance.Distance = value
value = instance.Distance
|
C# |
|
public int Distance {get; set;} |
C++/CLI |
|
public:
property int Distance {
int get();
void set (int value);
} |
Return Value
Camera distance from the viewing screen, in pixels.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also