|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| PlanarGridWidget (float cellSize, long cellCountX, long cellCountY, long innerCellCount) | |
| PlanarGridWidget (float cellSize, long cellCountX, long cellCountY) | |
| float | GetCellSize () |
| void | SetCellSize (float val) |
| long | GetCellCountX () |
| void | SetCellCountX (long val) |
| long | GetCellCountY () |
| void | SetCellCountY (long val) |
| long | GetInnerCellCount () |
| void | SetInnerCellCount (long val) |
| Vector3 | GetPrimaryColor () |
| void | SetPrimaryColor (Vector3 val) |
| Vector3 | GetSecondaryColor () |
| void | SetSecondaryColor (Vector3 val) |
| SceneNode | Clone () |
| void | Update () |
| void | FitToBoundingBox (AABox bbox) |
Public 成员函数 继承自 CoordinateGridWidget | |
| boolean | GetSnapGrid () |
| void | SetSnapGrid (boolean val) |
| double | GetScaleFactor () |
| void | SetScaleFactor (double val) |
| boolean | GetAutoAdaptive () |
| void | SetAutoAdaptive (boolean val) |
| GAx2 | GetCoordinate () |
| void | SetCoordinate (GAx2 ax) |
| Vector3d | FloorV (Vector3d v) |
Public 成员函数 继承自 ShapeSceneNode | |
| ShapeSceneNode (CompoundShape shape) | |
| CompoundShape | GetShape () |
| void | SetShape (CompoundShape val) |
| PrimitiveShapeList | GetPrimitives () |
| PrimitiveShape | GetPrimitive (long idx) |
| long | GetPrimitiveCount () |
| void | SetMaterial (MaterialInstance pMaterial) |
| void | SetColor (Vector3 color) |
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 PlanarGridWidget | Cast (GfxObject obj) |
<> PlanarGridWidget. 平面网格控件
| PlanarGridWidget.PlanarGridWidget | ( | float | cellSize, |
| long | cellCountX, | ||
| long | cellCountY, | ||
| long | innerCellCount ) |
构造函数
| cellSize | 大格的大小 |
| cellCountX | X方向格子的数量 |
| cellCountY | Y方向格子的数量 |
| innerCellCount | 小格子的数量,默认5个 |
| PlanarGridWidget.PlanarGridWidget | ( | float | cellSize, |
| long | cellCountX, | ||
| long | cellCountY ) |
构造函数
| cellSize | 大格的大小 |
| cellCountX | X方向格子的数量 |
| cellCountY | Y方向格子的数量 |
|
static |
重载 CoordinateGridWidget .
| SceneNode PlanarGridWidget.Clone | ( | ) |
重载 CoordinateGridWidget .
| void PlanarGridWidget.FitToBoundingBox | ( | AABox | bbox | ) |
| void PlanarGridWidget.Update | ( | ) |
更改参数后,更新重新生成。