I have this line of code:
model = ArticulatedModel::create(spec);
And I would like to grab the AABox
from it using AABox G3D::ArticulatedModel::Part::boxBounds
but I'm having trouble getting the C++ syntax to work.
How do I reference the boxBounds?
create()
gives you an ArticulatedModel
, but that doesn't have boxBounds
. That attribute belongs to ArticulatedModel::Part
, which is an entirely different class. To get a specific Part
from the ArticulatedModel
you need to use an ID
or a name.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.