AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
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 () |
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 ShapeSceneNode | Cast (GfxObject obj) |
<>
管理多个PrimtiveShape对象的SceneNode
ShapeSceneNode.ShapeSceneNode | ( | CompoundShape | shape | ) |
构造函数
shape | CompoundShape对象 |
|
static |
重载 SceneNode .
PrimitiveShape ShapeSceneNode.GetPrimitive | ( | long | idx | ) |
获取第idx个基本对象
idx | 索引 |
long ShapeSceneNode.GetPrimitiveCount | ( | ) |
获取PrimitiveShape的个数
PrimitiveShapeList ShapeSceneNode.GetPrimitives | ( | ) |
获取PrimitiveShape列表
void ShapeSceneNode.SetMaterial | ( | MaterialInstance | pMaterial | ) |
设置为相同的材质
pMaterial | 材质 |