C API Unity API
Unity API Reference (Version 10.22.5)
MeshSetModelCreator Class Reference

Static Public Member Functions

static GameObject LoadMeshSet (string dataSetName, string path, Transform parentTransform, StorageType storageType=StorageType.APP_RESOURCE, bool withCollider=false, bool withOcclusion=false, Material material=null)
 Loads a Mesh Set for the Area Target from the given path, and then re-parents the created gameObject to the parentTransform. The Mesh Set can be loaded with colliders, occlusion or without them More...
 

Member Function Documentation

◆ LoadMeshSet()

static GameObject LoadMeshSet ( string  dataSetName,
string  path,
Transform  parentTransform,
StorageType  storageType = StorageType.APP_RESOURCE,
bool  withCollider = false,
bool  withOcclusion = false,
Material  material = null 
)
inlinestatic

Loads a Mesh Set for the Area Target from the given path, and then re-parents the created gameObject to the parentTransform. The Mesh Set can be loaded with colliders, occlusion or without them

Parameters
dataSetName
pathThe path leads to the Point Cloud data
parentTransformThe transform which the created gameObject should be parented to
storageType
withColliderLoads the Mesh Set with colliders on
withOcclusionLoads the Mesh Set with a material that makes occlusion possible
materialThe material to apply to the Mesh Set model