|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| float | GetWidth () |
| void | SetWidth (float val) |
| float | GetHeight () |
| void | SetHeight (float val) |
| float | GetFontSize () |
| void | SetFontSize (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) |
| void | SetScreenPosition (float cx, float cy) |
Public 成员函数 继承自 SceneNode2D | |
| SceneNode2D (SceneNode node) | |
| SceneNode | GetNode () |
| void | SetNode (SceneNode val) |
Public 成员函数 继承自 SceneNode | |
| String | GetName () |
| void | SetName (String val) |
| java.math.BigInteger | GetUserId () |
| void | SetUserId (java.math.BigInteger val) |
| java.math.BigInteger | GetParentId () |
| void | SetParentId (java.math.BigInteger val) |
| Matrix4d | GetTransform () |
| AABox | GetBoundingBox () |
| void | SetBoundingBox (AABox val) |
| Matrix4d | 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 | GetPickByBox () |
| void | SetPickByBox (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 | GetInfiniteSize () |
| void | SetInfiniteSize (boolean bEnabled) |
| boolean | GetPhysics () |
| void | SetPhysics (boolean bEnabled) |
| void | SetTransform (Matrix4d trf) |
| SceneNode | GetRootNode () |
| SceneNode | Clone () |
| void | RequestUpdate () |
| void | AddTransform (Matrix4d trf) |
| void | SetWorldTransform (Matrix4d world) |
| void | UpdateTransform (Matrix4d parent) |
| AABox | ComputeBoundingBox (Matrix4d parent) |
| boolean | IsVisiblePath () |
Public 成员函数 继承自 GfxObject | |
| long | GetUuid () |
静态 Public 成员函数 | |
| static PaletteWidget | 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<br> |