Template:Element functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Add new bone functions)
m (Add new item template for bone quaternion functions)
 
Line 8: Line 8:
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBoneRotation]]</li>
     <li>[[getElementBoneRotation]]</li>
     <li>[[getElementBoneQuaternion]]</li>
     {{New feature/item|3.0161|1.6.0|22741|<li>[[getElementBoneQuaternion]]</li>}}
     <li>[[getElementBoundingBox]]</li>
     <li>[[getElementBoundingBox]]</li>
     <li>[[getElementDistanceFromCentreOfMassToBaseOfModel]]</li>
     <li>[[getElementDistanceFromCentreOfMassToBaseOfModel]]</li>
Line 23: Line 23:
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBoneRotation]]</li>
     <li>[[setElementBoneRotation]]</li>
     <li>[[setElementBoneQuaternion]]</li>
     {{New feature/item|3.0161|1.6.0|22741|<li>[[setElementBoneQuaternion]]</li>}}
     <li>[[setElementCollidableWith]]</li>
     <li>[[setElementCollidableWith]]</li>
     <li>[[setElementStreamable]]</li>
     <li>[[setElementStreamable]]</li>

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.