Пример #1
0
 public MaterialNode(SceneNode parent, Material material) : base(parent)
 {
     Material = material;
 }
Пример #2
0
 public AnimationNode(SceneNode parent, AnimationComponent animation) : base(parent)
 {
     this.animation = animation;
 }
Пример #3
0
 public DebugDrawNode(SceneNode parent, RigidBody b)
     : base(parent)
 {
     body = b;
 }
Пример #4
0
 public LightNode(Vector3 position, Vector4 ambient, Vector4 diffuse, Vector4 specular, SceneNode parent) : base(parent)
 {
     Ambient     = ambient;
     Specular    = specular;
     Diffuse     = diffuse;
     Position    = new Vector4(position, 0.0f);
     nodeHandler = Inventory.AddLast(this);
 }