FnUsdAbstractionLib 15.1.6
|
#include <XformCache.h>
Public Member Functions | |
XformCache (fdk::TimeValue time) | |
fdk::Mat4d | getLocalToWorldTransform (const Prim &prim) |
Returns the local to world transformation of the prim. | |
fdk::Mat4d | getParentToWorldTransform (const Prim &prim) |
Returns the local to world transformation of the prim's parent. | |
fdk::Mat4d | getLocalTransformation (const Prim &prim, bool *resetsXformStack) |
Returns the local transformation of the prim. | |
fdk::Mat4d | computeRelativeTransform (const Prim &prim, const Prim &ancestor, bool *resetsXformStack) |
Returns the transformation of the prim relative to ancestor. | |
A class for caching transform queries. Create one of these when you need to query a set of transforms. This is not threadsafe, so you should create one per thread if multithreading.
©2025 The Foundry Visionmongers, Ltd. All Rights Reserved. |