Пример #1
0
        private ResultsAvatar CreatePlayerSkeleton(float offsetFromCenter)
        {
            ResultsAvatar avatar = new ResultsAvatar();

            avatar.OffsetFromCenter = offsetFromCenter;
            avatar.CreateBonesFromDataManager(Definitions.Avatar_Skeleton_Front);

            _registerObject(avatar);

            return(avatar);
        }
Пример #2
0
        public void InitializeComponents()
        {
            _avatar = new ResultsAvatar();
            _avatar.CreateBonesFromDataManager(Definitions.Avatar_Skeleton_Front);
            _registerObject(_avatar);

            _outcomePopup = new ResultsPopup();
            _registerObject(_outcomePopup);

            _glowBurst             = new Effects.GlowBurst(3, 1.0f, 0.1f);
            _glowBurst.RenderDepth = 0.095f;
        }
Пример #3
0
        public void InitializeComponents()
        {
            _avatar = new ResultsAvatar();
            _avatar.CreateBonesFromDataManager(Definitions.Avatar_Skeleton_Front);
            _registerObject(_avatar);

            _outcomePopup = new ResultsPopup();
            _registerObject(_outcomePopup);

            _glowBurst = new Effects.GlowBurst(3, 1.0f, 0.1f);
            _glowBurst.RenderDepth = 0.095f;
        }