Share via


FrozenSpatialMapping Class

Definition

Class to reinterpret spatial mapping data from "spongy" space into "frozen" space. This is unnecessary when using MRTK's spatial mapping, which provides this and other enhancements over the native spatial mapping.

public class FrozenSpatialMapping : UnityEngine.MonoBehaviour
type FrozenSpatialMapping = class
    inherit MonoBehaviour
Public Class FrozenSpatialMapping
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
FrozenSpatialMapping

Constructors

FrozenSpatialMapping()

Properties

Active

Whether the Mapping is active. If inactive, all resources disposed and only remade when active again.

CenterObject

Object around which spatial mappings are centered. Set to null to center around the camera.

Collide

Whether to perform collisions and raycasts against these surfaces.

Display

Whether to render the active surfaces with the given material.

DrawMaterial

Material to draw surfaces with. May be null if no display wanted.

HangerObject

Object to attach surface objects to. May be null to add surface objects to scene root.

Quality

Quality at which to tessellate.

Radius

Radius around the camera to map.

UpdatePeriod

Period in seconds at which to update surfaces.

Applies to