User Tools

Site Tools


set_entity_texture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
set_entity_texture [2024/02/06 19:05] – created justinset_entity_texture [2024/02/22 21:11] (current) justin
Line 2: Line 2:
 ---- ----
 (WIP) (WIP)
 +
 +Replaces the specified [[entity|entity's]] texture with another (as defined in the [[Voxel Editor]]). A texture name of "Default" will revert the [[entity]] to its default texture.
  
 ====Signature:==== ====Signature:====
 <code python> <code python>
-set_entity_texture()+set_entity_texture(entity, texture)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-| | | | |+|entity| |[[Entity]]|Yes| 
 +|texture| |[[String]]|Yes|
  
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-set_entity_texture();+
 </code> </code>
 //Results:// //Results://
set_entity_texture.1707275109.txt.gz · Last modified: 2024/02/06 19:05 by justin