|  | |
| World | |
 Inheritance Hierarchy
Inheritance Hierarchy Syntax
Syntaxpublic struct WorldColorInstanceData
The WorldColorInstanceData type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | WorldColorInstanceData(Color4) | Constructor | 
|  | WorldColorInstanceData(Vector3) | Constructor | 
|  | WorldColorInstanceData(Matrix4x4, Color4) | Constructor | 
|  | WorldColorInstanceData(Matrix4x4, Color4) | Constructor | 
|  | WorldColorInstanceData(Vector3, Color4) | Constructor | 
|  | WorldColorInstanceData(Vector3, Vector3, Color4) | Constructor | 
 Methods
Methods| Name | Description | |
|---|---|---|
|   | GetHitInstanceIndex | GetHitInstanceIndex returns index of the instance that was hit in hit testing (defined by hitBounds). The method returns -1 if hitBounds is not found (was not hit). | 
|   | GetInstancesDataBounds | |
|  | SetPosition(Vector3) | Sets position for this instance | 
|  | SetPosition(Single, Single, Single) | Sets position for this instance | 
|  | SetScale(Vector3) | Sets scale for this instance | 
|  | SetScale(Single, Single, Single) | Sets scale for this instance | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | DiffuseColor | Color used for diffuse material | 
|   | HiddenInstanceColor | HiddenInstanceColor is a Color4 with alpha value set to 0. When an instance has alpha color set to 0, then it will not be rendered. | 
|   | SizeInBytes | Size of this struct in bytes | 
|  | World | World transformation | 
 See Also
See Also