TEXTURE

Definition

TEXTURE [id]
{
  [Common flags]
}

Description

Represents a STRING entry for bitmap entries. It has an additional preview window for the selected bitmap file.
Use GenerateTexturePath() to get the filename of the bitmap:

String name = cp->GetString(PRIM_RELIEF_TEXTURE);
Filename texture;
GenerateTexturePath(doc->GetDocumentPath() + doc->GetDocumentName(), Filename(name), &texture);
const char const char * name
Definition: abstract.h:195
Bool GenerateTexturePath(const Filename &docpath, const Filename &srcname, const Filename &suggestedfolder, Filename *dstname, NetRenderService *service=nullptr, BaseThread *bt=nullptr)
Manages file and path names.
Definition: c4d_file.h:94
Definition: c4d_string.h:41
@ PRIM_RELIEF_TEXTURE
Definition: orelief.h:9
const char * doc
Definition: pyerrors.h:226

Example

TEXTURE
Root of everything. Must not be used with AddChildren.
Definition: gfx_image.h:1
@ VP_TEXT_WATERMARK
Definition: vptext.h:30

Further Reading