Example #1
0
        public override void GenerateGeometry(string scenePath, List <PrimitiveBase> output)
        {
            PlanePrimitive plane = PlanePrimitive.Create();

            plane.position = Position;
            plane.scale    = Scale;
            plane.euler    = Euler;
            plane.material = shaders[0];

            output.Add(plane);
        }
Example #2
0
 public override Mesh Build()
 {
     return(PlanePrimitive.Create(this));
 }