<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">

    <Frame name="GwEssencePointTemplate" virtual="true">
        <Frames>
            <Frame parentKey="EssenceFilling" setAllPoints="true" frameStrata="MEDIUM" hidden="true">
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="EssenceBG" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0.5" right="1" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK" textureSubLevel="0">
						<Texture parentKey="TrailSpinner" alpha="0" alphaMode="BLEND" atlas="UF-Essence-Spinner" useAtlasSize="false">
                            <Size x="32" y="32" />
							<Anchors>
								<Anchor point="CENTER" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="OVERLAY">
						<Texture parentKey="TimerSpinner" alpha="0" alphaMode="BLEND" atlas="UF-Essence-TimerSpin" useAtlasSize="false">
                            <Size x="32" y="32" />
							<Anchors>
								<Anchor point="CENTER" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK" textureSubLevel="2">
						<Texture parentKey="SpinnerOut" alpha="0" alphaMode="BLEND" atlas="UF-Essence-SpinnerOut" useAtlasSize="false">
                            <Size x="34" y="34" />
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
						<Texture parentKey="SpinStar" alpha="0" alphaMode="BLEND" atlas="UF-Essence-Spin-Stars" useAtlasSize="false">
                            <Size x="34" y="34" />
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<Texture parentKey="SpinOut_BG" alpha="0" alphaMode="BLEND" atlas="UF-Essence-Spin-OutBG" useAtlasSize="false">
                            <Size x="34" y="34" />
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Animations>
					<AnimationGroup parentKey="FillingAnim" looping="NONE" setToFinalAlpha="false">
						<Rotation startDelay="0" smoothing="IN_OUT" childKey="TimerSpinner" duration="5" order="1" degrees="-360">
							<Origin point="CENTER"/>
						</Rotation>
						<Alpha startDelay="2.8" smoothing="NONE" childKey="TimerSpinner" duration=".1" order="1" fromAlpha="1" toAlpha="0"/>
						<Translation startDelay="4.9" smoothing="NONE" childKey="TimerSpinner" duration=".1" order="1" offsetX="0" offsetY="20"/>
						<Alpha smoothing="NONE" childKey="TimerSpinner" duration=".1" order="1" fromAlpha="0" toAlpha="1"/>
						<Rotation smoothing="IN_OUT" childKey="TrailSpinner" duration="5" order="1" degrees="-360">
							<Origin point="CENTER"/>
						</Rotation>
						<Alpha startDelay=".5" smoothing="NONE" childKey="TrailSpinner" duration="2" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay="4.8" smoothing="NONE" childKey="TrailSpinner" duration=".2" order="1" fromAlpha="1" toAlpha="0"/>
						<Scripts>
							<OnFinished>
								self:GetParent():GetParent().EssenceFillDone:Show();
							</OnFinished>
						</Scripts>
					</AnimationGroup>
					<AnimationGroup parentKey="CircleAnim" looping="NONE" setToFinalAlpha="false">
						<Alpha startDelay="4" smoothing="NONE" childKey="SpinOut_BG" duration=".3" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay="4.7" smoothing="NONE" childKey="SpinOut_BG" duration=".2" order="1" fromAlpha="1" toAlpha="0"/>
						<Alpha startDelay="4.3" smoothing="NONE" childKey="SpinnerOut" duration=".3" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay="4.6" smoothing="NONE" childKey="SpinnerOut" duration=".2" order="1" fromAlpha="1" toAlpha="0"/>
						<Rotation startDelay="4.3" smoothing="IN_OUT" childKey="SpinnerOut" duration=".6" order="1" degrees="-260">
							<Origin point="CENTER"/>
						</Rotation>
						<Alpha startDelay="4.3" smoothing="NONE" childKey="SpinStar" duration=".3" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay="4.6" smoothing="NONE" childKey="SpinStar" duration=".2" order="1" fromAlpha="1" toAlpha="0"/>
						<Rotation startDelay="4.3" smoothing="IN_OUT" childKey="SpinStar" duration=".7" order="1" degrees="-270">
							<Origin point="CENTER"/>
						</Rotation>
					</AnimationGroup>
				</Animations>
				<Scripts>
					<OnShow>
						self.FillingAnim:Play();
						self.CircleAnim:Play();
					</OnShow>
				</Scripts>
			</Frame>

            <Frame parentKey="EssenceFillDone" setAllPoints="true" frameStrata="MEDIUM" hidden="true">
				<Layers>
					<Layer level="BACKGROUND" textureSubLevel="0">
						<Texture parentKey="FXBurst" alpha="1" alphaMode="BLEND" atlas="UF-Essence-FX-Burst" useAtlasSize="false">
                        <Size x="32" y="32" />
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK" textureSubLevel="1">
						<Texture parentKey="EssenceIcon" alpha="0" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0" right="0.5" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK" textureSubLevel="2">
						<Texture parentKey="EssenceIconGlow" alpha="0" alphaMode="BLEND" atlas="UF-Essence-Icon-Glw" useAtlasSize="false">
                            <Size x="32" y="32" />
							<Anchors>
								<Anchor point="CENTER" x="0" y="0"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Animations>
					<AnimationGroup parentKey="AnimIn" looping="NONE" setToFinalAlpha="true">
						<Alpha smoothing="NONE" childKey="EssenceIconGlow" duration=".25" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay=".5" smoothing="NONE" childKey="EssenceIconGlow" duration=".5" order="1" fromAlpha="1" toAlpha="0"/>
						<Alpha startDelay="0" smoothing="NONE" childKey="EssenceIcon" duration=".25" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha smoothing="NONE" childKey="FXBurst" duration=".2" order="1" fromAlpha="0" toAlpha=".8"/>
						<Alpha startDelay=".2" smoothing="NONE" childKey="FXBurst" duration=".4" order="1" fromAlpha=".8" toAlpha="0"/>
						<Rotation smoothing="NONE" childKey="FXBurst" duration=".2" order="1" degrees="-30">
							<Origin point="CENTER"/>
						</Rotation>
						<Rotation startDelay=".2" smoothing="NONE" childKey="FXBurst" duration=".5" order="1" degrees="-10">
							<Origin point="CENTER"/>
						</Rotation>
					</AnimationGroup>
				</Animations>
				<Scripts>
					<OnShow>
						self.AnimIn:Play();
					</OnShow>
				</Scripts>
			</Frame>

			<Frame parentKey="EssenceEmpty" setAllPoints="true"  frameStrata="MEDIUM" hidden="true">
				<Layers>
					<Layer level="ARTWORK">
						<Texture parentKey="EssenceBG" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0.5" right="1" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>

			<Frame parentKey="EssenceFull" setAllPoints="true"  frameStrata="MEDIUM" hidden="true">
				<Layers>
					<Layer level="ARTWORK">
						<Texture parentKey="EssenceIconActive" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0" right="0.5" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
			</Frame>

			<Frame parentKey="EssenceDepleting" setAllPoints="true" frameStrata="MEDIUM" hidden="true">
				<Layers>
					<Layer level="BACKGROUND">
						<Texture parentKey="EssenceBG" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0.5" right="1" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER">
						<Texture parentKey="FXDepBG" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0.5" right="1" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="BORDER" textureSubLevel="1">
						<Texture parentKey="EssenceIcon" alpha="1" alphaMode="BLEND" file="Interface\AddOns\GW2_UI\textures\altpower/evoker.png">
                            <Size x="32" y="32" />
                            <TexCoords left="0" right="0.5" top="0" bottom="1"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
					<Layer level="ARTWORK">
						<Texture parentKey="FXSmoke" alpha="0" alphaMode="BLEND" atlas="UF-Essence-FX-DepSmoke" useAtlasSize="false">
                            <Size x="32" y="32" />
							<Anchors>
								<Anchor point="CENTER" x="0" y="10"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Animations>
					<AnimationGroup parentKey="AnimIn" looping="NONE" setToFinalAlpha="true">
						<Alpha startDelay=".3" smoothing="NONE" childKey="FXDepBG" duration=".5" order="1" fromAlpha="1" toAlpha="0"/>
						<Alpha smoothing="NONE" childKey="EssenceIcon" duration=".5" order="1" fromAlpha="1" toAlpha="0"/>
						<Alpha startDelay="0" smoothing="NONE" childKey="FXSmoke" duration=".3" order="1" fromAlpha="0" toAlpha="1"/>
						<Alpha startDelay=".4" smoothing="NONE" childKey="FXSmoke" duration=".5" order="1" fromAlpha="1" toAlpha="0"/>
						<Translation startDelay=".3" smoothing="NONE" childKey="FXSmoke" duration=".7" order="1" offsetX="0" offsetY="3"/>
						<Translation smoothing="NONE" childKey="FXSmoke" duration=".3" order="1" offsetX="0" offsetY="2"/>
					</AnimationGroup>
				</Animations>
				<Scripts>
					<OnShow>
						self.AnimIn:Play();
					</OnShow>
				</Scripts>
			</Frame>
        </Frames>
    </Frame>

</Ui>
