ModelData:getDepth

Edit

Returns the depth of the model, computed from its axis-aligned bounding box.




Get the depth of the whole model.

Arguments

None

Returns

NameTypeDescription
depthnumber The depth.

Get the depth of a single mesh in the model.

Arguments

NameTypeDescription
meshnumber The mesh to get the depth of.

Returns

NameTypeDescription
depthnumber The depth.

Get the depth of a single part of a mesh in the model.

Arguments

NameTypeDescription
meshnumber The mesh to get the depth of.
partnumber The part to get the depth of.

Returns

NameTypeDescription
depthnumber The depth.

See also