Exemple #1
0
        public DecalElement CreateDecalElement(string imageName,
                                               float posX, float posZ, float sizeX, float sizeZ, float rot,
                                               float lifetime, float deleteRadius, int priority)
        {
            DecalElement element = new DecalElement(imageName,
                                                    posX, posZ, sizeX, sizeZ, rot,
                                                    lifetime, deleteRadius, priority, this);

            elements.Add(element);

            sorted = false;

            return(element);
        }
 public DecalPosZValue(DecalElement decal)
     : base(AnimableType.Float)
 {
     this.decal = decal;
     SetAsBaseValue(0.0f);
 }
Exemple #3
0
 public void RemoveDecalElement(DecalElement element)
 {
     elements.Remove(element);
 }