Nevron .NET Vision
Nevron.GraphicsCore Namespace / MapLayout Enumeration


In This Topic
    MapLayout Enumeration
    In This Topic
    The layout used when mapping a texture on an object in the 3D scene.
    Syntax
    'Declaration
     
    
    Public Enum MapLayout 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As MapLayout
    public enum MapLayout : System.Enum 
    Members
    MemberDescription
    CenteredSimilar to fitted. When used on the background object it also preserves the real original texture dimensions.
    CropFittedStretches the texture until its larger dimension fits the object. This layout mode preserves the texture dimensions ratio (aspect).
    FittedStretches the texture until its smaller dimension fits the object. This layout mode preserves the texture dimensions ratio (aspect).
    StretchedStretches the texture along the X and Y axes until it fits the object. It does not preserve the original texture dimensions ratio (aspect).
    StretchedToHeightStretches the texture by height until it fits. This layout mode preserves the texture dimensions ratio (aspect).
    StretchedToWidthStretches the texture by width until it fits. This layout mode preserves the texture dimensions ratio (aspect).
    TiledRepeats the texture along the X and Y axes. This layout mode preserves the texture dimensions ratio (aspect).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Nevron.GraphicsCore.MapLayout

    Requirements

    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

    See Also