示例#1
0
        public SceneNode(int actor_id, String name, RenderPass pass, Matrix? to_world, Matrix? from_world)
        {
            _properties = new SceneNodeProperties();
            _properties.ActorId = actor_id;
            _properties.Name = name;
            _properties.RenderPass = pass;
            _properties.Alphatype = AlphaType.AlphaOpaque;

            SetTransform(to_world, from_world);
            SetRadius(0);
        }
示例#2
0
        public void Dispose()
        {
            _properties = null;

            if (_children != null || _children.Count >= 0)
            {
                _children.Clear();
                _children = null;
            }
        }