Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这行代码:
model = ArticulatedModel::create(spec);
我想从中获取AABox它,AABox G3D::ArticulatedModel::Part::boxBounds但我无法让 C++ 语法正常工作。
AABox
AABox G3D::ArticulatedModel::Part::boxBounds
如何引用 boxBounds?
create()给你一个ArticulatedModel,但没有boxBounds。该属性属于ArticulatedModel::Part,这是一个完全不同的类。要从中获取特定Part信息,ArticulatedModel您需要使用一个ID或一个名称。
create()
ArticulatedModel
boxBounds
ArticulatedModel::Part
Part
ID