AnyCAD Rapid API 2023
Help you to create a better world!
|
Public 成员函数 | |
PointCloud (CompoundShape shape, float pointSize) | |
PointsMaterial | GetMaterial () |
void | SetMaterial (PointsMaterial val) |
MeshPhongMaterial | GetNormalMaterial () |
void | SetNormalMaterial (MeshPhongMaterial val) |
void | AddPoints (Float32Buffer points, Float32Buffer colors, Float32Buffer normals) |
long | GetPointCount () |
void | SetPointSize (float pointSize) |
void | UseVertexColors (boolean enabled) |
void | SetPosition (long idx, Vector3 position) |
Vector3 | GetPosition (long idx) |
void | SetNormal (long idx, Vector3 normal) |
Vector3 | GetNormal (long idx) |
void | SetPosition (long primitiveIdx, long pointIdx, Vector3 position) |
Vector3 | GetPosition (long primitiveIdx, long pointIdx) |
void | SetColor (long idx, Vector3 color) |
Vector3 | GetColor (long idx) |
void | UpdateBoundingBox () |
SceneNode | Clone () |
![]() | |
ShapeSceneNode (CompoundShape shape) | |
CompoundShape | GetShape () |
void | SetShape (CompoundShape val) |
PrimitiveShapeList | GetPrimitives () |
PrimitiveShape | GetPrimitive (long idx) |
long | GetPrimitiveCount () |
SceneNode | Clone () |
![]() | |
java.math.BigInteger | GetUserId () |
void | SetUserId (java.math.BigInteger val) |
Matrix4 | GetTransform () |
AABox | GetBoundingBox () |
void | SetBoundingBox (AABox val) |
Matrix4 | 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 | 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 | GetPhysics () |
void | SetPhysics (boolean bEnabled) |
void | SetTransform (Matrix4 trf) |
SceneNode | GetRootNode () |
SceneNode | Clone () |
void | RequestUpdate () |
void | AddTransform (Matrix4 trf) |
void | SetWorldTransform (Matrix4 world) |
void | UpdateTransform (Matrix4 parent) |
AABox | ComputeBoundingBox (Matrix4 parent) |
boolean | IsVisiblePath () |
![]() | |
long | GetUuid () |
静态 Public 成员函数 | |
static PointCloud | Cast (GfxObject obj) |
static PointCloud | Create (Float32Buffer points, Float32Buffer colors, Float32Buffer normals, float pointSize) |
static ShapeSceneNode | Cast (GfxObject obj) |
static SceneNode | Cast (GfxObject obj) |
<>
The point cloude node.
void PointCloud.AddPoints | ( | Float32Buffer | points, |
Float32Buffer | colors, | ||
Float32Buffer | normals | ||
) |
Add another point cloud.
points | the positions. |
colors | the colors. |
|
static |
重载 ShapeSceneNode .
SceneNode PointCloud.Clone | ( | ) |
重载 ShapeSceneNode .
|
static |
Create the point cloud
points | the positions. |
colors | the colors. |
pointSize | the point size. |
void PointCloud.SetPointSize | ( | float | pointSize | ) |
Change the point displaying size.
pointSize | the point size. |
void PointCloud.UseVertexColors | ( | boolean | enabled | ) |
Enable displaying with vertex colors.
enabled | true to use the point colors. |