49 nout <<
"**unexpected AnimationConvert value: (" << (int)convert <<
")**";
67 if (cmp_nocase(str,
"none") == 0) {
70 }
else if (cmp_nocase(str,
"pose") == 0) {
73 }
else if (cmp_nocase(str,
"flip") == 0) {
76 }
else if (cmp_nocase(str,
"strobe") == 0) {
79 }
else if (cmp_nocase(str,
"model") == 0) {
82 }
else if (cmp_nocase(str,
"chan") == 0) {
85 }
else if (cmp_nocase(str,
"both") == 0) {
AnimationConvert
This enumerated type lists the methods by which animation from an animation package might be represen...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
std::string format_animation_convert(AnimationConvert convert)
Returns the string corresponding to this method.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
AnimationConvert string_animation_convert(const std::string &str)
Converts from a string, as might be input by the user, to one of the known AnimationConvert types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.