MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCOLLADA / addNodeAnimation

Method addNodeAnimation

COLLADAMaya/src/COLLADAMayaAnimationExporter.cpp:1746–1769  ·  view source on GitHub ↗

---------------------------------------------------------------

Source from the content-addressed store, hash-verified

1744
1745 //---------------------------------------------------------------
1746 bool AnimationExporter::addNodeAnimation(
1747 MObject node,
1748 const String& attrname,
1749 const SampleType& sampleType,
1750 const String* parameters /* = EMPTY_PARAMETER */,
1751 const bool convertUnits /*= false*/,
1752 const int arrayElement /*= -1*/,
1753 const bool isRelativeAnimation /*= false*/,
1754 ConversionFunctor* conversion /*= NULL */ )
1755 {
1756 // Take the attribute name as the sub id.
1757 String targetSid = attrname;
1758
1759 return addNodeAnimation (
1760 node,
1761 targetSid,
1762 attrname,
1763 sampleType,
1764 parameters,
1765 convertUnits,
1766 arrayElement,
1767 isRelativeAnimation,
1768 conversion );
1769 }
1770
1771 //---------------------------------------------------------------
1772 bool AnimationExporter::addNodeAnimation (

Callers 10

exportScaleMethod · 0.80
exportTranslationMethod · 0.80
exportRotationMethod · 0.80
exportVisibilityMethod · 0.80
exportLightMethod · 0.80
exportConstantShaderMethod · 0.80
exportStandardShaderMethod · 0.80
exportTransparencyMethod · 0.80
exportCameraMethod · 0.80

Calls 2

c_strMethod · 0.80
findPlugMethod · 0.45

Tested by

no test coverage detected