Example #1
0
        //Get the geometry offset to a node. It is never inherited by the children.
        //The geometric offset is a local transformation that is applied to a node attribute only.
        //This transformation is applied to the node attribute after the node transformations. This transformation is not inherited across the node hierarchy.
        public static FbxAMatrix GetGeometryOffset(FbxNode pNode)
        {
            FbxVector4 lT = pNode.GetGeometricTranslation(FbxNode.EPivotSet.eSourcePivot);
            FbxVector4 lR = pNode.GetGeometricRotation(FbxNode.EPivotSet.eSourcePivot);
            FbxVector4 lS = pNode.GetGeometricScaling(FbxNode.EPivotSet.eSourcePivot);

            return(new FbxAMatrix(lT, lR, lS));
        }