C# 클래스 SpatialMappingCollider, InteractivePaint

상속: SMBaseAbstract
파일 보기 프로젝트 열기: OpenHID/InteractivePaint 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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