Get Bounding Box

Nível do objeto
Lado do cliente
Celular e PC

Get the Bounding Box of the scene object

Declaração

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

Parâmetros

Entrada

Nome Tipo Descrição
Alvo LevelObject The scene object to get the bounding box for

Fora

Nome Tipo Descrição
Centro Vector3 The center of the bounding box
Size Vector3 The size of the bounding box