|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| java.math.BigInteger | GetTargetId () |
| float | GetRadius () |
| Vector3 | GetLength () |
| GroupSceneNode | GetNodes () |
| void | ShowText (boolean bShow) |
| void | ShowTextByAll (boolean bShow) |
| void | ShowText (char arrowId, boolean show) |
| void | ShowTextById (char arrowId, boolean show) |
| void | SetText (char arrowId, String text) |
| void | SetTextForAxisX (String text) |
| void | SetTextForAxisY (String text) |
| void | SetTextForAxisZ (String text) |
| void | ShowArrow (char arrow) |
| void | ShowArrowByAll (char arrow) |
| void | ShowArrow (char arrow, boolean show) |
| void | ShowArrowById (char arrow, boolean show) |
| AxisWidget | CloneAxisWidget () |
| SceneNode | Clone () |
Public 成员函数 继承自 GeneralSceneNode | |
| boolean | IsDocumentNode () |
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 () |
| 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 AxisWidget | Cast (GfxObject obj) |
| static AxisWidget | Create (float radius, Vector3 length, boolean rightHand) |
| static AxisWidget | Create (float radius, Vector3 length) |
<>
坐标轴对象。每个轴的ID使用字符:'x','y', 'z'表示。
AxisWidget aw = ...;
aw.ShowArrow('z', false); //隐藏z轴
|
static |
重载 GeneralSceneNode .
|
static |
创建坐标轴对象
|
static |
创建坐标轴对象
| void AxisWidget.SetText | ( | char | arrowId, |
| String | text ) |
指定某个轴的文字
| arrowId | 轴的ID: 'x', 'y', 'z' |
| text | 文本 |
| void AxisWidget.SetTextForAxisX | ( | String | text | ) |
设置X轴的文字
| text | 文本 |
| void AxisWidget.SetTextForAxisY | ( | String | text | ) |
设置Y轴的文字
| text | 文本 |
| void AxisWidget.SetTextForAxisZ | ( | String | text | ) |
设置Z轴的文字
| text | 文本 |
| void AxisWidget.ShowArrow | ( | char | arrow | ) |
仅显示某个轴,其他的都隐藏
| arrow | 轴的ID:'x', 'y', 'z' |
| void AxisWidget.ShowArrow | ( | char | arrow, |
| boolean | show ) |
设置指定轴的可见性
| arrow | 轴的ID:'x', 'y', 'z' |
| show | 是否可见 |
| void AxisWidget.ShowText | ( | boolean | bShow | ) |
设置是否显示文字
| bShow |
| void AxisWidget.ShowText | ( | char | arrowId, |
| boolean | show ) |
指定某个轴的文字显示
| arrowId | 轴的ID: 'x', 'y', 'z' |
| show | 是否显示 |