コード例 #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;
        }