27 lines
954 B
C#
27 lines
954 B
C#
#define Graph_And_Chart_PRO
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace ChartAndGraph
|
|
{
|
|
/// <summary>
|
|
/// base interface for chart mesh
|
|
/// </summary>
|
|
interface IChartMesh
|
|
{
|
|
List<BillboardText> TextObjects {get;}
|
|
float Tile { get; set; }
|
|
float Offset { get; set;}
|
|
float Length { get; set; }
|
|
BillboardText AddText(AnyChart chart, MonoBehaviour prefab, Transform parentTransform, int fontSize, float fontScale, string text, float x, float y, float z, float angle, object userData);
|
|
void AddYZRect(Rect rect, int subMeshGroup, float xPosition);
|
|
void AddXZRect(Rect rect, int subMeshGroup, float yPosition);
|
|
void AddXYRect(Rect rect, int subMeshGroup, float depth);
|
|
void AddQuad(UIVertex vLeftTop, UIVertex vRightTop, UIVertex vLeftBottom, UIVertex vRightBottom);
|
|
}
|
|
}
|