Gets or sets the camera distance from the viewing screen, in pixels.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Distance As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As PlaneCommand
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);
} |
Property Value
Camera distance from the viewing screen, in pixels.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also