You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curveType is only loaded when the <key> is inside <timeline>.
When curveType is inside <mainline>, it isn't loaded. EDIT: and the curveType follows the one specified in <key> inside <timeline>.
Version of runtime: haxelib
EDIT: interestingly, curveType of MainlineKey isn't specified in the scml reference. But the editor is generating mainline key with curveType as of R5. And the behavior of the editor is that the curveType of MainlineKey overrides TimelineKey. Maybe time to ask the guys in BrashMonkey for explanation?
EDIT: I've checked their C++ reference implementation. Their MainlineKey has a TimeInfo, which has an EasingCurveInterface. Their EasingCurveInterface is inherited by implementation of curve, such as InstantEasingCurve and CubicEasingCurve. Therefore, their MainlineKey is indeed capable for storing curveType. Maybe their scml documentation is outdated?
The text was updated successfully, but these errors were encountered:
I think I can implement this by only modifying the parsing on MainlineKey without doing anything else in the engine. I'm just waiting for some details from Brashmonkey's to avoid any mistakes.
curveType
is only loaded when the<key>
is inside<timeline>
.When
curveType
is inside<mainline>
, it isn't loaded. EDIT: and thecurveType
follows the one specified in<key>
inside<timeline>
.Version of runtime: haxelib
EDIT: interestingly,
curveType
of MainlineKey isn't specified in the scml reference. But the editor is generating mainline key withcurveType
as of R5. And the behavior of the editor is that thecurveType
of MainlineKey overrides TimelineKey. Maybe time to ask the guys in BrashMonkey for explanation?EDIT: I've checked their C++ reference implementation. Their MainlineKey has a TimeInfo, which has an
EasingCurveInterface
. TheirEasingCurveInterface
is inherited by implementation of curve, such asInstantEasingCurve
andCubicEasingCurve
. Therefore, their MainlineKey is indeed capable for storingcurveType
. Maybe their scml documentation is outdated?The text was updated successfully, but these errors were encountered: