MCPcopy Create free account
hub / github.com/carbonengine/trinity / ExposeToBlue

Method ExposeToBlue

trinity/Curves/Tr2FollowCurveKey_Blue.cpp:41–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39BLUE_REGISTER_ENUM_EX( "Tr2FollowCurveKeyInterpolation", Tr2FollowCurveKeyInterpolation::Type, Tr2FollowCurveKeyInterpolationChooser, ENUM_REG_ENUM_OBJECT_ON_MODULE );
40
41const Be::ClassInfo* Tr2ObjectFollowCurveKey::ExposeToBlue()
42{
43 EXPOSURE_BEGIN( Tr2ObjectFollowCurveKey, "" )
44 MAP_INTERFACE( ITr2FollowCurveKey )
45 MAP_INTERFACE( INotify )
46 MAP_INTERFACE( IInitialize )
47
48 MAP_ATTRIBUTE( "name", m_name, "name of the key", Be::READWRITE | Be::PERSIST )
49 MAP_ATTRIBUTE( "object", m_object, "the object that is used", Be::READWRITE | Be::NOTIFY )
50 MAP_ATTRIBUTE( "time", m_time, "The start time of the key", Be::READWRITE | Be::PERSIST )
51 MAP_ATTRIBUTE_WITH_CHOOSER( "interpolation", m_interpolation, "The interpolation of the key", Be::READWRITE | Be::PERSIST | Be::ENUM, Tr2FollowCurveKeyInterpolationChooser )
52 MAP_ATTRIBUTE( "leftTangent", m_leftTangent, "The left tangent of the key", Be::READWRITE | Be::PERSIST )
53 MAP_ATTRIBUTE( "rightTangent", m_rightTangent, "The right tangent of the key", Be::READWRITE | Be::PERSIST )
54 MAP_ATTRIBUTE( "rotatedLeftTangent", m_rotatedLeftTangent, "The rotated left tangent of the key", Be::READ )
55 MAP_ATTRIBUTE( "rotatedRightTangent", m_rotatedRightTangent, "The rotated right tangent of the key", Be::READ )
56 MAP_ATTRIBUTE( "offsetLocatorName", m_offsetLocatorName, "The name of the offset locator", Be::READWRITE | Be::PERSIST | Be::NOTIFY )
57 MAP_ATTRIBUTE( "offset", m_offset, "The offset from the object (and locator)", Be::READWRITE | Be::PERSIST )
58 MAP_ATTRIBUTE_WITH_CHOOSER( "rotationSetting", m_rotationSetting, "The type of rotation we want", Be::READWRITE | Be::PERSIST | Be::ENUM, RotationChooser )
59 EXPOSURE_END()
60}
61
62
63const Be::ClassInfo* Tr2CameraFollowCurveKey::ExposeToBlue()

Callers

nothing calls this directly

Calls 1

MAP_INTERFACEFunction · 0.70

Tested by

no test coverage detected