Created
February 25, 2013 09:06
-
-
Save bagobor/5028614 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Evaluate the camera’s position expressed as a vector at a specific time. | |
NoteA transformation matrix is not needed to evaluate a camera's position. | |
// Given a scene, we can create a camera | |
FbxCamera* myCamera = FbxCamera::Create (myScene, ""); | |
// Store the value of the property in an animation curve node | |
FbxAnimCurveNode& myCameraPositionVector; | |
// Get and store the value of the camera's local translation | |
myCameraPositionVector = mySceneEvaluator->GetPropertyValue (myCamera->Position, myTime); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment