AnyCAD Rapid API 2024
Help you to create a better world!
载入中...
搜索中...
未找到
ShapeSceneNode类 参考
类 ShapeSceneNode 继承关系图:
SceneNode GfxObject ArrowWidget CoordinateGridWidget MeasureDistanceNode PointCloud LineCoordinateWidget PlanarGridWidget SharedPointCloud

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.ShapeSceneNode ( CompoundShape shape)

构造函数

参数
shapeCompoundShape对象

成员函数说明

◆ Cast()

static ShapeSceneNode ShapeSceneNode.Cast ( GfxObject obj)
static

重载 SceneNode .

◆ GetPrimitive()

PrimitiveShape ShapeSceneNode.GetPrimitive ( long idx)

获取第idx个基本对象

参数
idx索引
返回
PrimitiveShape对象

◆ GetPrimitiveCount()

long ShapeSceneNode.GetPrimitiveCount ( )

获取PrimitiveShape的个数

返回
个数

◆ GetPrimitives()

PrimitiveShapeList ShapeSceneNode.GetPrimitives ( )

获取PrimitiveShape列表

返回
PrimitiveShape的列表

◆ SetMaterial()

void ShapeSceneNode.SetMaterial ( MaterialInstance pMaterial)

设置为相同的材质

参数
pMaterial材质