xcal
基于 C++23 的现代图形渲染引擎
|
#include <scene.hpp>
额外继承的成员函数 | |
![]() | |
AbsScene () | |
AbsScene (const AbsScene &)=delete | |
AbsScene & | operator= (const AbsScene &)=delete |
T * | add (Args &&... args) |
添加对象/相机/动画/时间线 | |
T * | add (std::unique_ptr< T > &&obj) |
添加对象/相机/动画/时间线 | |
T * | add (T *obj) |
添加对象/相机/动画/时间线 | |
T * | add (T &&obj) |
添加对象/相机/动画/时间线 | |
std::vector< mobject::AbsMObject_ptr > & | mobjects () |
获取对象列表(可修改) | |
const std::vector< mobject::AbsMObject_ptr > & | mobjects () const |
获取对象列表(只读) | |
std::vector< std::unique_ptr< camera::AbsCamera > > & | cameras () |
const std::vector< std::unique_ptr< camera::AbsCamera > > & | cameras () const |
std::vector< std::unique_ptr< animation::Timeline > > & | timelines () |
std::vector< std::unique_ptr< animation::AbsAnimation > > & | animations () |
const std::vector< std::unique_ptr< animation::AbsAnimation > > & | animations () const |
virtual | ~AbsScene ()=default |
虚析构函数 | |