Get Bounding Box

Level Object
Client Side
Both Mobile and PC

Get the Bounding Box of the scene object

Declaration

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

Parameters

Input

Name Type Description
Target LevelObject The scene object to get the bounding box for

Out

Name Type Description
Center Vector3 The center of the bounding box
Size Vector3 The size of the bounding box