NevronOpenVision
Nevron.Nov.Graphics Namespace / NProjection Class / XDepth Property
In This Topic
    XDepth Property
    In This Topic
    The offset of the 3D objects along the X axis depending on their Z depth when the projection is ENProjectionType.Orthogonal
    Syntax
    public System.float XDepth {get; set;}
    Remarks
    This property has effect only when the projection type is ENENProjectionType.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 2D 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.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also