Get Bounding Box

Nivel de objeto
Lado del cliente
Disponible en PC y móvil

Get the Bounding Box of the scene object

Declaración

func GetBoundingBox(target entity<LevelObject>, out var center Vector3, out var size Vector3)
go

Parámetros

Entrada

Nombre Tipo Descripción
Objetivo LevelObject The scene object to get the bounding box for

Afuera

Nombre Tipo Descripción
Centro Vector3 The center of the bounding box
Size Vector3 The size of the bounding box