# GeoInst_SetRotation

GeoInst_SetRotation pGeoInst, InstIndex, X#, Y#, Z#

## Description

Sets an instance's world space rotation. The specified GeoInst must contain World Matrix data (wasn't removed during custom element declaration).

## Parameters

pGeoInst | INTEGER | Pointer to the GeoInst which contains the instance
InstIndex | INTEGER | 1-Based Instance Index
X# | FLOAT | X euler angle
Y# | FLOAT | Y euler angle
Z# | FLOAT | Z euler angle

GeoInst Commands
jGfx Command Index
jGfx Main