C# Class SpatialMappingCollider, InteractivePaint

Inheritance: SMBaseAbstract
Afficher le fichier Open project: OpenHID/InteractivePaint Class Usage Examples

Méthodes publiques

Свойство Type Description
MeshLayer LayerMask
PhysicMaterial UnityEngine.PhysicMaterial

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
ToggleColliders ( ) : void

Helper to update the active state of the colliders

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

SurfaceObserver_OnDataReady() protected méthode

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
Résultat void

Property Details

MeshLayer public_oe property

The layer mask to apply to the mesh.
public LayerMask MeshLayer
Résultat LayerMask

PhysicMaterial public_oe property

Material describing the physical properties of the mesh.
public PhysicMaterial,UnityEngine PhysicMaterial
Résultat UnityEngine.PhysicMaterial