C# Класс SpatialMappingCollider, InteractivePaint

Наследование: SMBaseAbstract
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
MeshLayer LayerMask
PhysicMaterial UnityEngine.PhysicMaterial

Защищенные методы

Метод Описание
Awake ( ) : void
SurfaceObserver_OnDataReady ( SurfaceData bakedData, bool outputWritten, float elapsedBakeTimeSeconds ) : void

Handler for RequestMeshAsync which will be used to set the layer, material, and collision options on the resulting mesh

Приватные методы

Метод Описание
ToggleColliders ( ) : void

Helper to update the active state of the colliders

Описание методов

Awake() защищенный Метод

protected Awake ( ) : void
Результат void

SurfaceObserver_OnDataReady() защищенный Метод

Handler for RequestMeshAsync which will be used to set the layer, material, and collision options on the resulting mesh
protected SurfaceObserver_OnDataReady ( SurfaceData bakedData, bool outputWritten, float elapsedBakeTimeSeconds ) : void
bakedData UnityEngine.VR.WSA.SurfaceData The resulting data from the RequestMeshAsync call
outputWritten bool Whether or not the output was written
elapsedBakeTimeSeconds float How long the baking took in seconds
Результат void

Описание свойств

MeshLayer публичное свойство

The layer mask to apply to the mesh.
public LayerMask MeshLayer
Результат LayerMask

PhysicMaterial публичное свойство

Material describing the physical properties of the mesh.
public PhysicMaterial,UnityEngine PhysicMaterial
Результат UnityEngine.PhysicMaterial