/// <summary> /// Updates the geometry. /// </summary> protected void UpdateGeometry() { var bb = new Billboard( this.Position, this.Width, this.Height, this.HorizontalAlignment, this.VerticalAlignment, this.DepthOffset); this.Mesh.Positions = this.builder.GetPositions(new[] { bb }, new Vector()); }
/// <summary> /// Updates the geometry. /// </summary> protected void UpdateGeometry() { var bb = new Billboard( this.Position, this.Width, this.Height, this.HorizontalAlignment, this.VerticalAlignment, this.DepthOffset); this.Mesh.Positions = this.builder.GetPositions(new[] { bb }); }