Skip to content

.NET API

Texture3DApi

Image-driven 3D texture on a surface (the ArtisanTexture3D tool).

from ArtisanPlugin.Scripting import Texture3DApi

See also the guide, Accessories › Texture 3D, and the Python package, ra.texture_3d.

Methods

Method
CreatetexturePath optional image file (grayscale heightmap); omitted = the default texture.

Create

Guid Texture3DApi.Create(
    Guid surfaceId,
    string texturePath = null,
    int u = 0,
    int v = 0,
    double height = 0,
    double rotation = 0)

texturePath optional image file (grayscale heightmap); omitted = the default texture. Defaults: 1x1 repeats, relief height 0.6, resolution 0.5. Returns the id of the textured object.

ParameterTypeDefault
surfaceIdGuidrequired
texturePathstringnull
uint0
vint0
heightdouble0
rotationdouble0

Returns Guid.