TEXTURE

Definition

TEXTURE [id]
{
  [Common flags]
}
						

描述

Represents a STRING entry for bitmap entries. It has an additional preview window for the selected bitmap file.
使用 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);

范例

TEXTURE VP_TEXT_WATERMARK { }

延伸阅读

Filename
Manages file and path names.
定义: c4d_file.h:93
VP_TEXT_WATERMARK
@ VP_TEXT_WATERMARK
定义: vptext.h:32
String
定义: c4d_string.h:38
TEXTURE
TEXTURE
Root of everything. Must not be used with AddChildren.
定义: gfx_image.h:418
PRIM_RELIEF_TEXTURE
@ PRIM_RELIEF_TEXTURE
定义: orelief.h:9
GenerateTexturePath
Bool GenerateTexturePath(const Filename &docpath, const Filename &srcname, const Filename &suggestedfolder, Filename *dstname, NetRenderService *service=nullptr, BaseThread *bt=nullptr)
BaseDocument::GetDocumentName
Filename GetDocumentName(void)
BaseDocument::GetDocumentPath
Filename GetDocumentPath(void)

Copyright  © 2014-2025 乐数软件    

工业和信息化部: 粤ICP备14079481号-1