Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

You will see sA3DVisitorContainer.SetTraverseInstance(true) when creating the visitor container. It means that the visitor traverses each instance part.

If you set it as false, just the first part of instances will be traversed.

...

Info

If you refer the Collision sample, you will see a usage of Tree traverse Visitor.

Hence A3DCollisionCompute requires two Representation

...

Item groups to compute collision, it is necessary to get flatten array of Representation Items from the target model file.

A3DFlattenVisitor is derived class of A3DTreeVisitor and retrieves visible Representation Items including identifier and transform overriding visitEntor of A3DPartConnector and A3DRiConnector.