entity.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:story_engine 作者: brettkromkamp 项目源码 文件源码
def __init__(self, identifier, instance_of,
                 name='Undefined',
                 description=None,
                 location='[0.0, 0.0, 0.0]',  # The x ("width"), y ("height"), z ("depth") coordinates.
                 rotation='[0.0, 0.0, 0.0, 0.0]',  # The x, y, z, and w coordinates.
                 scale='1.0'):
        self.__identifier = slugify(str(identifier))
        self.__instance_of = slugify(str(instance_of))
        self.name = name
        self.description = description
        self.location = location
        self.rotation = rotation
        self.scale = scale
        self.__assets = []
        self.__paths = []
        self.__tags = []
        self.__attributes = []
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号