Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

SpatialMappingBase.surfaceParent

public GameObject surfaceParent;

Description

The GameObject that should be the parent of all the component's surface mesh game objects.

When this property is set to null, a parent GameObject will be dynamically generated.