Skip to content

Commit 2f5325d

Browse files
committed
deploy: 30ed63c
1 parent 3640f99 commit 2f5325d

32 files changed

Lines changed: 42 additions & 42 deletions

File tree

advanced-topics/animation-editor/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

advanced-topics/global-variables/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
</span></span><span style=display:flex><span> <span style=color:#f92672>&#34;variable3&#34;</span>: <span style=color:#66d9ef>true</span>
88
</span></span><span style=display:flex><span>}
99
</span></span></code></pre></div><p>Variables will by sorted by their types in Aurora-RGB.</p><p>You can see current values on <a href=http://localhost:9088/variables>http://localhost:9088/variables</a> endpoint.</p><h2 id=using-state-variables>Using State Variables</h2><p>Global variables are used similar to <a href=https://www.project-aurora.com/Docs/advanced-topics/state-variables/>State Variables</a>.
10-
Instead of selecting a variable from a drop down list, you need to type the name of the variable in a &ldquo;Global Variable&rdquo; function.</p><p><picture><img class=img-fluid src="https://www.project-aurora.com/Docs/img/docs/obs-global-var.png?v=a0c03be068a83b8b12beeed4532a5ec2" alt="Global variable usage in Aurora-RGB" loading=lazy height=615 width=1135></picture></p></section><hr style="margin:28px 100px"><ul class=author-list><li data-username=Aytackydln><a rel=author href=https://github.com/Aytackydln target=_blank><img class="avatar avatar-small" alt=Aytackydln src="https://github.com/Aytackydln.png?size=32" width=32 height=32 loading=lazy></a></li></ul><span class=author-text-label>Page authors</span><div class=next-post><a class="page-link page-link-prev" href=https://www.project-aurora.com/Docs/advanced-topics/custom-layout/>« Custom Layout</a>
10+
Instead of selecting a variable from a drop down list, you need to type the name of the variable in a &ldquo;Global Variable&rdquo; function.</p><p><picture><img class=img-fluid src="https://www.project-aurora.com/Docs/img/docs/obs-global-var.png?v=b2c09e6de25fbb96fb7cd0cee815c819" alt="Global variable usage in Aurora-RGB" loading=lazy height=615 width=1135></picture></p></section><hr style="margin:28px 100px"><ul class=author-list><li data-username=Aytackydln><a rel=author href=https://github.com/Aytackydln target=_blank><img class="avatar avatar-small" alt=Aytackydln src="https://github.com/Aytackydln.png?size=32" width=32 height=32 loading=lazy></a></li></ul><span class=author-text-label>Page authors</span><div class=next-post><a class="page-link page-link-prev" href=https://www.project-aurora.com/Docs/advanced-topics/custom-layout/>« Custom Layout</a>
1111
<span class=divider>|</span>
1212
<a class="page-link page-link-next" href=https://www.project-aurora.com/Docs/advanced-topics/overrides-system/>Overrides System »</a></div><ins class=adsbygoogle data-adtest=on data-ad-test=on style=display:block data-ad-client=ca-pub-2151914442626247 data-ad-slot=9668641531 data-ad-format=auto data-full-width-responsive=true></ins></article><aside class="toc collapsed"><div class=toc-header>Table of Contents</div><nav id=TableOfContents><ul><li><ul><li><a href=#updating-values>Updating Values</a></li><li><a href=#using-state-variables>Using State Variables</a></li></ul></li></ul></nav></aside></main><script>for(let e of document.querySelectorAll("main article a"))e.hostname!=window.location.hostname&&(e.target="_blank",e.rel="noreferrer noopener");(function(){document.querySelectorAll(".tabs").forEach(t=>e(t,0));function t(){let n=[...this.parentElement.children].indexOf(this),t=this.closest(".tabs");t.dataset.tabsSyncGroup?document.querySelectorAll(`.tabs[data-tabs-sync-group="${t.dataset.tabsSyncGroup}"]`).forEach(t=>e(t,n)):e(t,n)}function e(e,t){let n=e.querySelector(`.tab-content:nth-child(${t+1})`);n!=null&&(e.querySelectorAll(".tab-content.active, .tab-header.active").forEach(e=>e.classList.remove("active")),n.classList.add("active"),e.querySelector(`.tab-header:nth-child(${t+1})`).classList.add("active"))}document.querySelectorAll(".tab-header").forEach(e=>e.addEventListener("click",t))})(),function(){let t=document.querySelector("main nav");document.querySelector(".nav-burger").addEventListener("click",function(e){document.body.classList.contains("nav-open")||(e.stopPropagation(),document.body.classList.add("nav-open"))}),document.addEventListener("click",function(e){t.contains(e.target)||document.body.classList.remove("nav-open")});let e=document.querySelector(".toc .toc-header");e==null||e.addEventListener("click",function(){document.querySelector(".toc").classList.toggle("collapsed")})}(),function(e,t,n){var o=!!(t&&t.pushState),s={ANCHOR_REGEX:/^#[^ ]+$/,OFFSET_HEIGHT_PX:70,init:function(){this.scrollToCurrent(),window.addEventListener("hashchange",this.scrollToCurrent.bind(this)),e.body.addEventListener("click",this.delegateAnchors.bind(this))},getFixedOffset:function(){return this.OFFSET_HEIGHT_PX},scrollIfAnchor:function(s,i){var a,r,c;return!!this.ANCHOR_REGEX.test(s)&&(a=e.getElementById(s.slice(1)),a&&(r=a.getBoundingClientRect(),c=window.pageYOffset+r.top-this.getFixedOffset(),window.scrollTo(window.pageXOffset,c),o&&i&&t.pushState({},e.title,n.pathname+s)),!!a)},scrollToCurrent:function(){this.scrollIfAnchor(window.location.hash)},delegateAnchors:function(e){var t=e.target;t.nodeName==="A"&&this.scrollIfAnchor(t.getAttribute("href"),!0)&&e.preventDefault()}};window.addEventListener("DOMContentLoaded",s.init.bind(s))}(window.document,window.history,window.location),document.getElementById("active-link")?.scrollIntoView({behavior:"instant",block:"center"})</script></body></html>

advanced-topics/overrides-system/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

advanced-topics/state-variables/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
for example the CSGO profile contains State Variables for health, current ammo, max ammo, etc.
99
but these specific ones do not work for other profiles such as Minecraft.</p><p>There are some State Variables that are operating system-wide (such as RAM/CPU usage and time values)
1010
and these are always available to use, regardless of the application a profile is on.</p><p>Available State Variables can be found in the <a href=https://www.project-aurora.com/Docs/state-variables/>State Variables</a> page.</p><h1 id=how-do-you-use-state-variables>How do you use State Variables?</h1><p>Any layers that support the use of State Variables will present you with a drop down box
11-
allowing you to select a State Variable from the current application profile.</p><p><picture><img class=img-fluid src="https://www.project-aurora.com/Docs/img/docs/state-variable-example.png?v=a0c03be068a83b8b12beeed4532a5ec2" alt="An example of a drop down containing a list of State Variables for Minecraft" loading=lazy height=431 width=525></picture></p><p>Note that in most circumstances, the drop down list is editable
11+
allowing you to select a State Variable from the current application profile.</p><p><picture><img class=img-fluid src="https://www.project-aurora.com/Docs/img/docs/state-variable-example.png?v=b2c09e6de25fbb96fb7cd0cee815c819" alt="An example of a drop down containing a list of State Variables for Minecraft" loading=lazy height=431 width=525></picture></p><p>Note that in most circumstances, the drop down list is editable
1212
you are able to type a number into the field to use that instead of referencing a State Variable.</p><p>Another use for State Variables is in the <a href=https://www.project-aurora.com/Docs/advanced-topics/overrides-system/>Overrides System</a>.
1313
This system allows you to override property values of the layers when certain conditions are met.
1414
These conditions can be based on State Variables, such as showing a layer when your health is less than 25%.</p></section><hr style="margin:28px 100px"><ul class=author-list><li data-username=Wibble199><a rel=author href=https://github.com/Wibble199 target=_blank><img class="avatar avatar-small" alt=Wibble199 src="https://github.com/Wibble199.png?size=32" width=32 height=32 loading=lazy></a></li></ul><span class=author-text-label>Page authors</span><div class=next-post><a class="page-link page-link-prev" href=https://www.project-aurora.com/Docs/advanced-topics/overrides-system/>« Overrides System</a>

advanced-topics/visualizer-output/index.html

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)