AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
float | GetWidth () |
void | SetWidth (float val) |
float | GetHeight () |
void | SetHeight (float val) |
void | SetTitle (String title) |
void | SetTextColor (Vector3 clr) |
void | AddItemText (String text) |
void | ClearItems () |
boolean | Update (ColorLookupTable colorTable) |
Public 成员函数 继承自 WindowNode2D | |
WindowNode2D (SceneNode node, float cx, float cy) | |
ViewPosition | GetPosition () |
void | SetPosition (ViewPosition val) |
void | SetPosition (float cx, float cy) |
Public 成员函数 继承自 SceneNode2D | |
SceneNode2D (SceneNode node) | |
SceneNode | GetNode () |
void | SetNode (SceneNode val) |
Public 成员函数 继承自 SceneNode | |
java.math.BigInteger | GetUserId () |
void | SetUserId (java.math.BigInteger val) |
Matrix4 | GetTransform () |
AABox | GetBoundingBox () |
void | SetBoundingBox (AABox val) |
Matrix4 | GetWorldTransform () |
AABox | GetWorldBBox () |
long | GetState () |
SceneNode | GetParent () |
void | SetParent (SceneNode val) |
float | GetPickOrder () |
void | SetPickOrder (float val) |
long | GetUpdateVersion () |
void | SetUpdateVersion (long val) |
MaterialInstance | GetOverrideFaceMaterial () |
void | SetOverrideFaceMaterial (MaterialInstance val) |
MaterialInstance | GetOverrideEdgeMaterial () |
void | SetOverrideEdgeMaterial (MaterialInstance val) |
boolean | GetCastShadow () |
void | SetCastShadow (boolean bEnabled) |
boolean | GetPickable () |
void | SetPickable (boolean bEnabled) |
boolean | GetCulling () |
void | SetCulling (boolean bEnabled) |
boolean | GetVisible () |
void | SetVisible (boolean bEnabled) |
boolean | GetChildrenPickable () |
void | SetChildrenPickable (boolean bEnabled) |
boolean | GetContainer () |
void | SetContainer (boolean bEnabled) |
boolean | GetFixedSize () |
void | SetFixedSize (boolean bEnabled) |
boolean | GetPhysics () |
void | SetPhysics (boolean bEnabled) |
void | SetTransform (Matrix4 trf) |
SceneNode | GetRootNode () |
SceneNode | Clone () |
void | RequestUpdate () |
void | AddTransform (Matrix4 trf) |
void | SetWorldTransform (Matrix4 world) |
void | UpdateTransform (Matrix4 parent) |
AABox | ComputeBoundingBox (Matrix4 parent) |
boolean | IsVisiblePath () |
Public 成员函数 继承自 GfxObject | |
long | GetUuid () |
静态 Public 成员函数 | |
static PaletteWidget | Cast (GfxObject obj) |
static WindowNode2D | Cast (GfxObject obj) |
static SceneNode2D | Cast (GfxObject obj) |
static SceneNode | Cast (GfxObject obj) |
<> PaletteWidget
定义调色板
void PaletteWidget.AddItemText | ( | String | text | ) |
自定义颜色对应的文本,默认为数值
text | 文本内容 |
|
static |
重载 WindowNode2D .
void PaletteWidget.ClearItems | ( | ) |
清空与颜色对应的文本列表
void PaletteWidget.SetTextColor | ( | Vector3 | clr | ) |
设置文本颜色
clr | 颜色 |
void PaletteWidget.SetTitle | ( | String | title | ) |
设置标题
title |
boolean PaletteWidget.Update | ( | ColorLookupTable | colorTable | ) |
根据颜色表更新调色板显示对象
colorTable |