Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
_lbplayAnimation1 Function
Syntax
C++
static ConsoleDocFragment _lbplayAnimation1("@brief Plays the light animation assigned to this light with the existing LightAnimData datablock.\n\n" "@tsexample\n" "// Play the animation assigned to this light\n" "CrystalLight.playAnimation();\n" "@endtsexample\n\n", "LightBase", "void playAnimation();");

ConsoleMethod( LightBase, setLightEnabled, void, 3, 3, "( bool enabled )t" "Toggles the light on and off." ) { object->setLightEnabled( dAtob( argv[2] ) );

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!