Arguments: 1) real: objectID 2) real: x
Sets the x-coordinate of the object.
Arguments: 1) real: objectID 2) real: y
Sets the y-coordinate of the object.
Arguments: 1) real: objectID 2) real: z
Sets the z-coordinate of the object.
Arguments: 1) real: objectID 2) real: x 3) real: y
Sets the x and y coordinates of the object.
Arguments: 1) real: objectID 2) real: x 3) real: y 4) real: z
Sets the x, y, and z coordinates of the object.
Arguments: 1) real: objectID 2) real: parentObjectID
Sets the x, y, and z coordinates of the object to the coordinates of the parent object.
Arguments: 1) real: objectID 2) real: angleX
Sets the x-angle of the object.
Arguments: 1) real: objectID 2) real: angleY
Sets the y-angle of the object.
Arguments: 1) real: objectID 2) real: angleZ
Sets the z-angle of the object.
Arguments: 1) real: objectID 2) real: angleX 3) real: angleY 4) real: angleZ
Sets the x, y, and z angles of the object.
Arguments: 1) real: objectID 2) real: scaleX
Sets the x-scale of the object.
Arguments: 1) real: objectID 2) real: scaleY
Sets the y-scale of the object.
Arguments: 1) real: objectID 2) real: scaleZ
Sets the z-scale of the object.
Arguments: 1) real: objectID 2) real: scaleX 3) real: scaleY
Sets the x and y scales of the object.
Arguments: 1) real: objectID 2) real: scaleX 3) real: scaleY 4) real: scaleZ
Sets the x, y, and z scales of the object.
Arguments: 1) real: objectID 2) real: red 3) real: green 4) real: blue
Sets the color of the object using RGB (0-255).
Arguments: 1) real: objectID 2) real: color
Sets the color of the object using RGB in the hexadecimal format: 0xRRGGBB
For example, pure green would be: 0x00FF00
Note: Colour is not spelled correctly for the original function, for consistency, this function uses "Color" as well.
Arguments: 1) real: objectID 2) real: hue 3) real: saturation 4) real: value
Sets the hue (0-359), saturation (0-255), and value (0-255) of an object.
Arguments: 1) real: objectID 2) real: alpha
Sets the alpha value of the object.
A value of 0 will make the object invisible.
A value of 255 will give the object full opacity.
This function has no effect on an object using BLEND_ADD_RGB - use BLEND_ADD_ARGB instead.
Arguments: 1) real: objectID 2) real const: blendType
Sets the blend type for the specified object.
Arguments: 1) real: objectID 2) real const: filterType
Sets the texture filtering for a render object.
Available filter types are:
FILTER_NONE FILTER_POINT FILTER_LINEAR
Warning: This will not work correctly on items or shots because of how the rendering for them is handled.
Arguments: 1) real: objectID Return Type: real
Returns the x-coordinate of the object.
Note: If the specified object is deleted, the value returned will be NULL_POS (-999999)
Arguments: 1) real: objectID Return Type: real
Returns the y-coordinate of the object.
Note: If the specified object is deleted, the value returned will be NULL_POS (-999999)
Arguments: 1) real: objectID Return Type: real
Returns the z-coordinate of the object.
Note: If the specified object is deleted, the value returned will be NULL_POS (-999999)
Arguments: 1) real: objectID Return Type: real
Returns the x-angle of the object.
Arguments: 1) real: objectID Return Type: real
Returns the y-angle of the object.
Arguments: 1) real: objectID Return Type: real
Returns the z-angle of the object.
Arguments: 1) real: objectID Return Type: real
Returns the x-scale of the object.
Arguments: 1) real: objectID Return Type: real
Returns the y-scale of the object.
Arguments: 1) real: objectID Return Type: real
Returns the z-scale of the object.
Arguments: 1) real: objectID Return Type: real
Returns the alpha value of the object.
Arguments: 1) real: objectID Return Type: real const
Returns the blend type of the object.
Arguments: 1) real: objectID Return Type: real const
Returns the current texture filtering for a render object.
Available filter types are:
FILTER_NONE FILTER_POINT FILTER_LINEAR
Arguments: 1) real: objectID 2) bool: bZWrite
Allows or prevents the object from writing in the Z-buffer.
Arguments: 1) real: objectID 2) bool: bZTest
Sets whether or not the object uses the Z-buffer.
Arguments: 1) real: objectID 2) bool: bScissorTest
Sets whether or not the object uses scissor testing.
This culls pixels that are outside of the scissor rectangle that is set by ObjRender_SetScissorRect
Note: Occurs after pixel shaders.
Arguments: 1) real: objectID 2) real: left 3) real: top 4) real: right 5) real: bottom
Sets the rectangle to use for scissor testing.
Arguments: 1) real: objectID 2) bool: bFogEnable
Allows or prevents the object from being affected by the fog.
Defaults to true.
Arguments: 1) real: objectID 2) bool: bPermitCamera
Determines whether the object is affected by the 2D camera.
If set to false, the object will not be affected by the camera regardless of render priority.
Arguments: 1) real: objectID 2) real: speedX 3) real: speedY 4) real: speedZ
Sets the object's (render) move speed.
This will increment the object's x, y, z coordinates by the given values every frame until set to 0.
Arguments: 1) real: objectID 2) real: rotationSpeedX 3) real: rotationSpeedY 4) real: rotationSpeedZ
Sets the object's rotation speed (angular velocity).
This will increment the object's x, y, z angles by the given values every frame until set to 0.
Arguments: 1) real: objectID 2) real: scaleSpeedX 3) real: scaleSpeedY 4) real: scaleSpeedZ
Sets the object's scale speed.
This will increment the object's x, y, z scales by the given values every frame until set to 0.
Arguments: 1) real: objectID 2) real: duration 3) real const: interpolationType 4) real: x 5) real: y 6) real: z
Moves the object to position (x, y, z) over duration frames with interpolationType. interpolation.
NO_CHANGE can be used to preserve any of the current values.
Note: Tweens of the same type (for example, two ObjRender_TweenPosition) will cancel the currently running one and start the new one.
Arguments: 1) real: objectID 2) real: duration 3) real const: interpolationType 4) real: red 5) real: green 6) real: blue
Changes the object's color to (r, g, b) over duration frames with the given interpolation type.
NO_CHANGE can be used to preserve any of the current values.
Note: Tweens of the same type (for example, two ObjRender_TweenPosition) will cancel the currently running one and start the new one.
Arguments: 1) real: objectID 2) real: duration 3) real const: interpolationType 4) real: alpha
Changes the object's alpha over duration frames with the given interpolation type.
NO_CHANGE can be used to preserve any of the current values.
Note: Tweens of the same type (for example, two ObjRender_TweenPosition) will cancel the currently running one and start the new one.
Arguments: 1) real: objectID 2) real: duration 3) real const: interpolationType 4) real: angleX 5) real: angleY 6) real: angleZ
Changes the object's angle to (angleX, angleY, angleZ) over duration frames with the given interpolation type.
NO_CHANGE can be used to preserve any of the current values.
Note: Tweens of the same type (for example, two ObjRender_TweenPosition) will cancel the currently running one and start the new one.
Arguments: 1) real: objectID 2) real: duration 3) real const: interpolationType 4) real: scaleX 5) real: scaleY 6) real: scaleZ
Changes the object's scale to (scaleX, scaleY, scaleZ) over duration frames with the given interpolation type.
NO_CHANGE can be used to preserve any of the current values.
Note: Tweens of the same type (for example, two ObjRender_TweenPosition) will cancel the currently running one and start the new one.