UsdGeomPoints Algorithms

Utility functions to create geometric point cloud (ie. particles) prims.

UsdGeomPoints prims are simple point clouds or particle fields. Points generally receive a single shading sample each, which should take normals into account, if present.

Functions

pxr::UsdGeomPoints omni::connect::core::definePointCloud(pxr::UsdPrim parent, const std::string &name, const pxr::VtVec3fArray &points, carb::cpp::optional< const pxr::VtInt64Array > ids=carb::cpp::nullopt, carb::cpp::optional< const FloatPrimvarData > widths=carb::cpp::nullopt, carb::cpp::optional< const Vec3fPrimvarData > normals=carb::cpp::nullopt, carb::cpp::optional< const Vec3fPrimvarData > displayColor=carb::cpp::nullopt, carb::cpp::optional< const FloatPrimvarData > displayOpacity=carb::cpp::nullopt)

Defines a UsdGeomPoints prim on the stage.

pxr::UsdGeomPoints omni::connect::core::definePointCloud(pxr::UsdStagePtr stage, const pxr::SdfPath &path, const pxr::VtVec3fArray &points, carb::cpp::optional< const pxr::VtInt64Array > ids=carb::cpp::nullopt, carb::cpp::optional< const FloatPrimvarData > widths=carb::cpp::nullopt, carb::cpp::optional< const Vec3fPrimvarData > normals=carb::cpp::nullopt, carb::cpp::optional< const Vec3fPrimvarData > displayColor=carb::cpp::nullopt, carb::cpp::optional< const FloatPrimvarData > displayOpacity=carb::cpp::nullopt)

Defines a UsdGeomPoints prim on the stage.