public class PointCloud extends Geometry
name, properties| Constructor and Description |
|---|
PointCloud()
Constructor of
PointCloud |
PointCloud(java.lang.String name)
Constructor of
PointCloud |
| Modifier and Type | Method and Description |
|---|---|
static PointCloud |
fromGeometry(Geometry g)
Create a new PointCloud instance from a geometry object
|
static PointCloud |
fromGeometry(Geometry g,
int density)
Create a new point cloud instance from a geometry object.
|
Vector2 |
getDimension()
If a dimension value is present for the point cloud, it indicates an organized point cloud.
|
void |
setDimension(Vector2 value)
If a dimension value is present for the point cloud, it indicates an organized point cloud.
|
addElement, createElement, createElement, createElementUV, createElementUV, getCastShadows, getControlPoints, getDeformers, getDeformers2, getElement, getReceiveShadows, getVertexElementOfUV, getVertexElements, getVisible, setCastShadows, setReceiveShadows, setVisiblegetBoundingBox, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNodegetScenefindProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setPropertypublic PointCloud(java.lang.String name)
PointCloudname - The name of this entitypublic PointCloud()
PointCloudpublic Vector2 getDimension()
public void setDimension(Vector2 value)
value - New valuepublic static PointCloud fromGeometry(Geometry g)
public static PointCloud fromGeometry(Geometry g, int density)
g - Mesh or other geometry instancedensity - Number of points per unit triangle