C# 클래스 SpatialMappingRenderer, InteractivePaint

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

보호된 메소드들

메소드 설명
GetDefaultLevelOfDetail ( ) : MeshLevelOfDetail

Gives the default Level of Detail for the inspector. For rendering, we default to MeshLevelOfDetail.Medium

Start ( ) : void
SurfaceObserver_OnDataReady ( SurfaceData bakedData, bool outputWritten, float elapsedBakeTimeSeconds ) : void

Handler for RequestMeshAsync which will be used to set the material on the resulting mesh

비공개 메소드들

메소드 설명
ApplyRenderingSetting ( MeshRenderer r ) : void

Helper to actually apply the new render setting and material to a single MeshRenderer instance

ApplyRenderingSettingToCache ( ) : void

Helper to update the currently cached SpatialMeshObjects to the new rendering setting or material

메소드 상세

GetDefaultLevelOfDetail() 보호된 메소드

Gives the default Level of Detail for the inspector. For rendering, we default to MeshLevelOfDetail.Medium
protected GetDefaultLevelOfDetail ( ) : MeshLevelOfDetail
리턴 MeshLevelOfDetail

Start() 보호된 메소드

protected Start ( ) : void
리턴 void

SurfaceObserver_OnDataReady() 보호된 메소드

Handler for RequestMeshAsync which will be used to set the material 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