Beispiel #1
0
 /// <summary>
 /// Initialize a Surface3D object.
 /// </summary>
 /// <param name="game">The game.</param>
 /// <param name="actor">The parent actor.</param>
 /// <param name="effectFileName">The effect file name.</param>
 public Surface(XiGame game, Actor3D actor, string effectFileName)
 {
     XiHelper.ArgumentNullCheck(game);
     this.game = game;
     this.actor = actor;
     EffectFileName = effectFileName;
 }
Beispiel #2
0
 /// <summary>
 /// Remove a actor from the scene.
 /// </summary>
 public bool RemoveActor(Actor3D actor)
 {
     XiHelper.ArgumentNullCheck(actor);
     return actorPSet.Remove(actor);
 }
Beispiel #3
0
 /// <summary>
 /// Add an actor to the scene.
 /// </summary>
 public void AddActor(Actor3D actor)
 {
     XiHelper.ArgumentNullCheck(actor);
     actorPSet.Add(actor);
 }