'Usage
Dim instance As View
Dim value As Single
instance.YDepth = value
value = instance.YDepth
[Category("General")]
[Description("The offset of the 3D objects along the Y axis depending on their Z depth when the projection is ProjectionType.Orthogonal.")]
[DefaultValue(0.25)]
public float YDepth {get; set;}
Remarks
This property has effect only when the projection type is ProjectionType.Orthogonal.
When you use the standard 2D projection the Z coordinate does not influence the
projected coordinates, because the depth is not taken into account. To create a 2
and a half projection for example you'll need a projection that uses the Z
coordinate to generate a positive or negative offset along the X and Y axis of
the viewport depending on the Z depth of the object so that you can distingues
object with different Z values. The default value of this property is 0.
Example
The following example creates a 2D Half Orthogonal projection:
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2