Template:Element functions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
m (Add new item template for bone quaternion functions)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBonePosition]]</li>
     <li>[[getElementBoneRotation]]</li>
     <li>[[getElementBoneRotation]]</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 22: Line 23:
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBonePosition]]</li>
     <li>[[setElementBoneRotation]]</li>
     <li>[[setElementBoneRotation]]</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.