C# 클래스 HoloToolkit.Unity.SpatialMapping.SurfacePlane

The SurfacePlane class is used by SurfaceMeshesToPlanes to create different types of planes (walls, floors, tables, etc.) based on the Spatial Mapping data returned by the SpatialMappingManager's source. This script should be a component on the SufacePlane prefab, which is used by SurfaceMeshesToPlanes.
상속: MonoBehaviour
파일 보기 프로젝트 열기: austinirvine/soundaround 1 사용 예제들

비공개 메소드들

메소드 설명
Awake ( ) : void
SetPlaneGeometry ( ) : void

Updates the plane geometry to match the bounded plane found by SurfaceMeshesToPlanes.

SetPlaneMaterialByType ( ) : void

Sets the renderer material to match the object's plane type.

SetPlaneType ( ) : void

Classifies the surface as a floor, wall, ceiling, table, etc.

Start ( ) : void
UpdateSurfacePlane ( ) : void

Updates the SurfacePlane object to have the same configuration of the BoundingPlane object. Determine what type of plane the SurfacePlane aligns to. Sets the material based on the plane type.