Ejemplo n.º 1
0
        public void Initialize()
        {
            const float transZ = 30.0f;
            const float scale  = 15.0f;

            SealedObject.GetComp(SingularObjectModel.SingularCompID).Translate(new Vector(0, 0, transZ));
            SealedObject.GetComp(SingularObjectModel.SingularCompID).Scale(new Vector(scale, scale, scale));
            SealedObject.GetComp(SingularObjectModel.SingularCompID).Transform();
        }
Ejemplo n.º 2
0
 public void Transform()
 {
     SealedObject.GetComp(SingularObjectModel.SingularCompID).Transform();
 }
Ejemplo n.º 3
0
 public void Translate(Vector translate)
 {
     SealedObject.GetComp(SingularObjectModel.SingularCompID).Translate(translate);
 }
Ejemplo n.º 4
0
 public void Rotate(Vector axis, float angle)
 {
     SealedObject.GetComp(SingularObjectModel.SingularCompID).Rotate(axis, angle);
 }
Ejemplo n.º 5
0
 public void Scale(float scale)
 {
     SealedObject.GetComp(SingularObjectModel.SingularCompID).Scale(new Vector(scale, scale, scale));
 }