Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Mesh Class / ApplyTextureMapping Method / ApplyTextureMapping(TextureMappingData) Method

In This Topic
    ApplyTextureMapping(TextureMappingData) Method
    In This Topic
    Maps the specified material to this mesh using a custom bounding box. Before using this method you need to define a material and add it to the Materials collection.
    Syntax
    'Declaration
     
    Public Overloads Sub ApplyTextureMapping( _
       ByVal mapping As TextureMappingData _
    ) 
    public void ApplyTextureMapping( 
       TextureMappingData mapping
    )

    Parameters

    mapping
    Remarks

    The mesh nature is set to RichPlain or RichSmooth from this command.

    You may need to call viewport.Entities.Regen() to see the effect of this command.

    See Also