Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 public TreeMaterial(ForwardTreeShader shader)
 {
     wsource       = new WindStrengthSin();
     this.animator = new TreeWindAnimator(wsource);
     this.shader   = shader;
     CanAppearOfReflectionRefraction = true;
     CanCreateShadow = true;
     IsVisible       = true;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 /// <param name="wsource">The wsource.</param>
 public TreeMaterial(ForwardTreeShader shader, WindSource wsource)
 {
     this.wsource  = wsource;
     this.shader   = shader;
     this.animator = new TreeWindAnimator(wsource);
     CanAppearOfReflectionRefraction = true;
     CanCreateShadow = true;
     IsVisible       = true;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 public TreeMaterial(ForwardTreeShader shader)
 {
     wsource = new WindStrengthSin();
     this.animator = new TreeWindAnimator(wsource);
     this.shader = shader;
     CanAppearOfReflectionRefraction = true;
     CanCreateShadow = true;
     IsVisible = true;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 /// <param name="wsource">The wsource.</param>
 public TreeMaterial(ForwardTreeShader shader, WindSource wsource)
 {
     this.wsource  = wsource;
     this.shader   = shader;
     this.animator = new TreeWindAnimator(wsource);
 }
Esempio n. 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 public TreeMaterial(ForwardTreeShader shader)
 {
     wsource       = new WindStrengthSin();
     this.animator = new TreeWindAnimator(wsource);
     this.shader   = shader;
 }
Esempio n. 6
0
 public TreeWindAnimator(WindSource wind)
 {
     this.wind = wind;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 /// <param name="wsource">The wsource.</param>
 public TreeMaterial(ForwardTreeShader shader, WindSource wsource)
 {
     this.wsource = wsource;
     this.shader = shader;
     this.animator = new TreeWindAnimator(wsource);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 public TreeMaterial(ForwardTreeShader shader)
 {
     wsource = new WindStrengthSin();
     this.animator = new TreeWindAnimator(wsource);
     this.shader = shader;
 }
 public TreeWindAnimator(WindSource wind)
 {
     this.wind = wind;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TreeMaterial"/> class.
 /// </summary>
 /// <param name="shader">The shader.</param>
 /// <param name="wsource">The wsource.</param>
 public TreeMaterial(ForwardTreeShader shader, WindSource wsource)
 {
     this.wsource = wsource;
     this.shader = shader;
     this.animator = new TreeWindAnimator(wsource);
     CanAppearOfReflectionRefraction = true;
     CanCreateShadow = true;
     IsVisible = true;
 }