25 #ifndef __I6ENGINE_API_ANIMATEDSPOTLIGHTCOMPONENT_H_
26 #define __I6ENGINE_API_ANIMATEDSPOTLIGHTCOMPONENT_H_
61 return "AnimatedSpotLight";
64 std::vector<componentOptions> getComponentOptions()
override;
67 uint64_t _directionDuration;
68 std::map<double, Vec3> _directions;
69 uint64_t _innerRangeDuration;
70 std::map<double, double> _innerRanges;
71 uint64_t _outerRangeDuration;
72 std::map<double, double> _outerRanges;
#define ISIXE_MODULES_API
std::string getTemplateName() const override
returns the name this template was registered with
std::map< std::string, std::string > attributeMap
interpolates light colours and attenuation (e.g. range) For creating a AnimatedLuminousAppearanceComp...
Tells the engine that this GameObject is emitting light. For creating a AnimatedSpotLightComponent, these keys are possible: Name Required Type Description Public directionDuration no int duration of one direction interpolation cycle yes directionKey_ no Vec3 direction at timePoint encoded in name (timePoint between 0 and 1) yes innerRangeDuration no int duration of one inner range interpolation cycle yes innerRangeKey_ no double inner range at timePoint encoded in name (timePoint between 0 and 1) yes outerRangeDuration no int duration of one outer range interpolation cycle yes outerRangeKey_ no double outer range at timePoint encoded in name (timePoint between 0 and 1) yes