229 std::list<ColorKey> mAmbientKeys;
231 std::list<ColorKey> mDiffuseKeys;
233 std::list<ColorKey> mSpecularKeys;
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Animatable()
Construct an animatable with no children, no filters, and a zero frame.
Sink that the engine formats its diagnostic and failure text into.
Definition dbg.h:33
Keyframed animation of the three colours of one Rnd::Light.
Definition lightanim.h:44
virtual void Load(Stream &stream)
Load the animation.
virtual void Save(Stream &stream)
Serialise the animation.
virtual const HxStr & ClassName() const
Report the registered class name, "LightAnim".
virtual void Replace(Object *pFrom, Object *pTo)
Retarget one object reference at another.
void SetKeysOwner(LightAnim *pOwner)
Make another animation the one whose channels drive this one.
LightAnim(const HxStr &name)
Construct an animation with three empty channels and no light, owning its keys.
virtual void DumpText(Dbg &sink)
Write the animation to the engine text sink.
virtual void SetFrameSelf(float flFrame)
Animate the light to a frame.
virtual void Copy(const Object *pSource, unsigned nFlags)
Copy another animation over this one.
@ kCopyShareKeys
Definition lightanim.h:56
LightAnim * GetKeysOwner()
Report the animation whose channels this one reads.
Light * GetLight()
Report the light this animation drives.
@ kSerialVersion
Definition lightanim.h:47
virtual float FilteredFrameEnd()
Report the last frame this animation runs to.
Light in a scene.
Definition light.h:41
Base of every object the renderer can load, resolve by name, and serialise.
Definition object.h:43
Byte stream that every renderer object serialises itself through.
Definition stream.h:31
The rendering engine.
Definition animhelper.h:3
HxStr g_lightAnimClassName
Registered class name of Rnd::LightAnim, the string "LightAnim".
void RegisterLightAnimClass()
Register the "LightAnim" class with Rnd::Manager, through CreateRegisteredLightAnim().
Object * CreateRegisteredLightAnim(const HxStr &name)
Build a light animation for the registered "LightAnim" class.
LightAnim * NewLightAnim(const HxStr &name)
Allocate and construct a light animation.