Пример #1
0
 public SceneObject(PolygonData[] renderData, PhysicalData shape = null, object data = null, IAnimator animator = null)
 {
     this.Data          = data;
     this.PhysicalShape = shape;
     this.RenderData    = renderData;
     this.Animator      = animator;
 }
Пример #2
0
 public SceneObject(IEnumerable <PolygonData> renderData, PhysicalData shape = null, object data = null, IAnimator animator = null) :
     this(renderData.ToArray(), shape, data, animator)
 {
 }
Пример #3
0
 public SceneObject(PolygonData renderData, PhysicalData shape = null, object data = null, IAnimator animator = null) :
     this(new [] { renderData }, shape, data, animator)
 {
 }