SetObjectTexture
From Onset Developer Wiki
Description
Sets a texture on an object. For animated ones check SetObjectAnimatedTexture.
Syntax
SetObjectTexture(object, TextureFile [, MaterialSlot])
Parameters
- object
The object identifier. - TextureFile
The texture file in your package folder. - MaterialSlot (optional)
The material slot of the object model
Return Value
- __EDIT_ME__
Example
__EDIT_ME__
See also
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectAnimatedTexture