Exemplo n.º 1
0
        public Cone AddCone(Vector2 size, int numSegment, float angle, Vector3 dir, int uvStretch, float maxFps, bool usedelta, AnimationCurve deltaAngle)
        {
            VertexSegment segment = GetVertices((numSegment + 1) * 2, numSegment * 6);
            Cone          f       = new Cone(segment, size, numSegment, angle, dir, uvStretch, maxFps);

            f.UseDeltaAngle = usedelta;
            f.CurveAngle    = deltaAngle;
            return(f);
        }
Exemplo n.º 2
0
 public Cone AddCone(Vector2 size, int numSegment, float angle, Vector3 dir, int uvStretch, float maxFps, bool usedelta, AnimationCurve deltaAngle, EffectNode owner)
 {
     VertexSegment segment = GetVertices((numSegment + 1) * 2, numSegment * 6);
     Cone f = new Cone(segment, size, numSegment, angle, dir, uvStretch, maxFps);
     f.UseDeltaAngle = usedelta;
     f.CurveAngle = deltaAngle;
     f.Owner = owner;
     return f;
 }
Exemplo n.º 3
0
 //fence
 public void SetType(Vector2 size, int numSegment, float angle, Vector3 dir, int uvStretch, float maxFps, bool usedelta, AnimationCurve deltaAngle)
 {
     Type = 3;
     Cone = Owner.GetVertexPool().AddCone(size, numSegment, angle, dir, uvStretch, maxFps, usedelta, deltaAngle, this);
 }
Exemplo n.º 4
0
 //fence
 public void SetType(Vector2 size, int numSegment, float angle, Vector3 dir, int uvStretch, float maxFps, bool usedelta, AnimationCurve deltaAngle)
 {
     Type = 3;
     Cone = Owner.GetVertexPool().AddCone(size, numSegment, angle, dir, uvStretch, maxFps, usedelta,deltaAngle, this);
 }