Esempio n. 1
0
        public SharedIdle(
            string classificationName,
            BaseChassis chassis,
            GetModelInstance getModelInstance,
            StaticActor staticActor)
            : base(classificationName, classificationName, chassis, getModelInstance, getModelInstance, staticActor)
        {
            if (XmlActorParams.SharedIdleData != null)
            {
                sharedAnim = new SharedAnimation(XmlActorParams.SharedIdleData.ActiveAnimationName);
            }
            else
            {
                sharedAnim = new SharedAnimation("");
            }

            fbxSRO = getModelInstance() as FBXModel;
            Debug.Assert(fbxSRO != null, "Wrong model type?");
        }
Esempio n. 2
0
 public BotFace(GetModelInstance getModel)
     : base(getModel)
 {
 }
Esempio n. 3
0
 public SwimFish(string classificationName, BaseChassis chassis, GetModelInstance getModelInstance, StaticActor staticActor)
     : base(classificationName, classificationName, chassis, getModelInstance, getModelInstance, staticActor)
 {
     preRender += SetFlex;
 }
Esempio n. 4
0
        //
        //  Light
        //

        public Light(string classificationName, BaseChassis chassis, GetModelInstance getModelInstance, StaticActor staticActor)
            : base(classificationName, classificationName, chassis, getModelInstance, getModelInstance, staticActor)
        {
        }   // end of Light c'tor
Esempio n. 5
0
 public BokuFace(GetModelInstance model)
     : base(model)
 {
     PupilCenter = new Vector2(0.23f, 0.05f);
     PupilSize   = 0.6f;
 }   // end of BokuFace c'tor
Esempio n. 6
0
        //
        //  Fan
        //

        public Fan(string classificationName, BaseChassis chassis, GetModelInstance getModelInstance, StaticActor staticActor)
            : base(classificationName, classificationName, chassis, getModelInstance, getModelInstance, staticActor)
        {
            CreateEmitter();
        }   // end of Fan c'tor