Template:Element functions: Difference between revisions
Jump to navigation
Jump to search
m (Fixed inconsistencies for webscraping) |
m (Add new item template for bone quaternion functions) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | |||
<ul> | <ul> | ||
{{New | {{#if: {{{1|}}} | ||
<li>[[addElementDataSubscriber]]</li> | | {{#ifeq: {{lc:{{{1}}}}} | client | ||
| | |||
<!-- CLIENT functions --> | |||
<li>[[getElementBoneMatrix]]</li> | |||
<li>[[getElementBonePosition]]</li> | |||
<li>[[getElementBoneRotation]]</li> | |||
{{New feature/item|3.0161|1.6.0|22741|<li>[[getElementBoneQuaternion]]</li>}} | |||
<li>[[getElementBoundingBox]]</li> | |||
<li>[[getElementDistanceFromCentreOfMassToBaseOfModel]]</li> | |||
<li>[[getElementLighting]]</li> | |||
<li>[[getElementRadius]]</li> | |||
<li>[[isElementCollidableWith]]</li> | |||
<li>[[isElementLocal]]</li> | |||
<li>[[isElementOnScreen]]</li> | |||
<li>[[isElementStreamable]]</li> | |||
<li>[[isElementStreamedIn]]</li> | |||
<li>[[isElementSyncer]]</li> | |||
<li>[[isElementWaitingForGroundToLoad]]</li> | |||
<li>[[setElementBoneMatrix]]</li> | |||
<li>[[setElementBonePosition]]</li> | |||
<li>[[setElementBoneRotation]]</li> | |||
{{New feature/item|3.0161|1.6.0|22741|<li>[[setElementBoneQuaternion]]</li>}} | |||
<li>[[setElementCollidableWith]]</li> | |||
<li>[[setElementStreamable]]</li> | |||
<li>[[updateElementRpHAnim]]</li> | |||
| {{#ifeq: {{lc:{{{1}}}}} | server | |||
| | |||
<!-- SERVER functions --> | |||
<li>[[addElementDataSubscriber]]</li> | |||
<li>[[clearElementVisibleTo]]</li> | |||
<li>[[cloneElement]]</li> | |||
<li>[[getElementSyncer]]</li> | |||
<li>[[getElementZoneName]]</li> | |||
<li>[[hasElementDataSubscriber]]</li> | |||
<li>[[isElementVisibleTo]]</li> | |||
<li>[[removeElementData]]</li> | |||
<li>[[removeElementDataSubscriber]]</li> | |||
<li>[[setElementSyncer]]</li> | |||
<li>[[setElementVisibleTo]]</li> | |||
}} | |||
}} | |||
</br> | |||
<li style="list-style: none; margin-left: -1.6em;">'''Shared'''</li> | |||
}} | |||
<!-- SHARED functions--> | |||
<li>[[attachElements]]</li> | <li>[[attachElements]]</li> | ||
<li>[[createElement]]</li> | <li>[[createElement]]</li> | ||
<li>[[destroyElement]]</li> | <li>[[destroyElement]]</li> | ||
<li>[[detachElements]]</li> | <li>[[detachElements]]</li> | ||
<li>[[getAttachedElements]]</li> | <li>[[getAttachedElements]]</li> | ||
<li>[[getElementAlpha]]</li> | <li>[[getElementAlpha]]</li> | ||
<li>[[getElementAttachedOffsets]]</li> | <li>[[getElementAttachedOffsets]]</li> | ||
<li>[[getElementAttachedTo]]</li> | <li>[[getElementAttachedTo]]</li> | ||
<li>[[ | <li>[[getElementByIndex]]</li> | ||
<li>[[getElementByID]]</li> | <li>[[getElementByID]]</li> | ||
<li>[[getElementChild]]</li> | <li>[[getElementChild]]</li> | ||
<li>[[getElementChildren]]</li> | <li>[[getElementChildren]]</li> | ||
<li>[[getElementChildrenCount]]</li> | <li>[[getElementChildrenCount]]</li> | ||
<li>[[getElementCollisionsEnabled]]</li> | |||
<li>[[getElementColShape]]</li> | <li>[[getElementColShape]]</li> | ||
<li>[[getElementData]]</li> | <li>[[getElementData]]</li> | ||
<li>[[getAllElementData]]</li> | |||
<li>[[hasElementData]]</li> | |||
<li>[[getElementDimension]]</li> | <li>[[getElementDimension]]</li> | ||
<li>[[getElementHealth]]</li> | <li>[[getElementHealth]]</li> | ||
Line 31: | Line 75: | ||
<li>[[getElementPosition]]</li> | <li>[[getElementPosition]]</li> | ||
<li>[[getElementRotation]]</li> | <li>[[getElementRotation]]</li> | ||
<li>[[getElementsByType]]</li> | <li>[[getElementsByType]]</li> | ||
<li>[[getElementsWithinColShape]]</li> | <li>[[getElementsWithinColShape]]</li> | ||
<li>[[getElementsWithinRange]]</li> | <li>[[getElementsWithinRange]]</li> | ||
<li>[[getElementType]]</li> | |||
<li>[[getElementVelocity]]</li> | |||
<li>[[getLowLODElement]]</li> | <li>[[getLowLODElement]]</li> | ||
<li>[[getRootElement]]</li> | <li>[[getRootElement]]</li> | ||
<li>[[isElement]]</li> | <li>[[isElement]]</li> | ||
<li>[[isElementAttached]]</li> | <li>[[isElementAttached]]</li> | ||
Line 53: | Line 89: | ||
<li>[[isElementInWater]]</li> | <li>[[isElementInWater]]</li> | ||
<li>[[isElementLowLOD]]</li> | <li>[[isElementLowLOD]]</li> | ||
<li>[[isElementWithinColShape]]</li> | <li>[[isElementWithinColShape]]</li> | ||
<li>[[isElementWithinMarker]]</li> | <li>[[isElementWithinMarker]]</li> | ||
<li>[[setElementAlpha]]</li> | <li>[[setElementAlpha]]</li> | ||
<li>[[setElementAngularVelocity]]</li> | <li>[[setElementAngularVelocity]]</li> | ||
<li>[[getElementAngularVelocity]]</li> | <li>[[getElementAngularVelocity]]</li> | ||
<li>[[setElementAttachedOffsets]]</li> | <li>[[setElementAttachedOffsets]]</li> | ||
<li>[[setElementCallPropagationEnabled]]</li> | <li>[[setElementCallPropagationEnabled]]</li> | ||
Line 79: | Line 108: | ||
<li>[[setElementPosition]]</li> | <li>[[setElementPosition]]</li> | ||
<li>[[setElementRotation]]</li> | <li>[[setElementRotation]]</li> | ||
<li>[[setElementVelocity]]</li> | <li>[[setElementVelocity]]</li> | ||
<li>[[setLowLODElement]]</li> | <li>[[setLowLODElement]]</li> | ||
<li>[[getPedContactElement]]</li> | |||
<li>[[getResourceDynamicElementRoot]]</li> | |||
<li>[[getResourceRootElement]]</li> | |||
</ul> | </ul> | ||
</includeonly> | |||
<noinclude>[[Category:Functions templates]]</noinclude> | <noinclude> | ||
{{Functions list info}} | |||
[[Category:Functions templates]]</noinclude> |
Latest revision as of 22:35, 30 September 2024
The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed
Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.