BoundingBox's extent size has half sizes, is this expected?

I have a cube with every dimension = 1
When I call box.getBoundingInfo().boundingBox.extendSize.x the result is 0.5, is this expected?

var box = BABYLON.MeshBuilder.CreateBox(“box”, {width: 1, height: 1, depth: 1}, scene);
var x = box.getBoundingInfo().boundingBox.extendSize.x; // x == 0.5;

Maybe what you looking for is maximum or maximumWorld, there is also minimum to determine whole box measures:

extentSize seems to be distance from center to mesh shell on x,y,z axis

If your measures are (1,1,1) then your max is (0.5,0.5,0.5) and min is (-0.5,-0.5,-0.5) for local, if you want to use world you need to subtract position


@Takemura: Thank you, maximum.x-minimum.x works.