| Parameter | Description |
|---|---|
| position | The position and size of the control. |
| property | The texture property to draw the fields for. |
float The height, in pixels, that the control uses.
Draws the tiling and offset fields of a texture property, as part of a texture property control.
This overload draws the fields as part of a large texture property control. To draw them separately, use the overload that takes partOfTexturePropertyControl.
| Parameter | Description |
|---|---|
| position | The position and size of the control. |
| property | The texture property to draw the fields for. |
| partOfTexturePropertyControl | Set to true to draw the fields as part of a large texture property control. Set to false to draw them separately. |
float The height, in pixels, that the control uses.
Draws the tiling and offset fields of a texture property, either inside a texture property control or separately.
| Parameter | Description |
|---|---|
| property | Property to draw. |
Draws tiling and offset properties for a texture, using automatic GUI layout.
This is similar to MaterialEditor.TextureScaleOffsetProperty(Rect,MaterialProperty), except the rect is determined automatically.
| Parameter | Description |
|---|---|
| position | The position and size of the control. |
| scaleOffset | The tiling and offset values, packed into a Vector4 as tiling x, tiling y, offset x, offset y. |
Vector4 The tiling and offset values, which might have changed if the user interacted with the fields.
Draws separate tiling and offset fields for explicit values instead of a material property.
This overload draws the fields separately, not as part of a texture property control. To draw them inside a texture property control, use the overload that takes partOfTexturePropertyControl.
| Parameter | Description |
|---|---|
| position | The position and size of the control. |
| scaleOffset | The tiling and offset values, packed into a Vector4 as tiling x, tiling y, offset x, offset y. |
| partOfTexturePropertyControl | Set to true to draw the fields as part of a large texture property control. Set to false to draw them separately. |
Vector4 The tiling and offset values, which might have changed if the user interacted with the fields.
Draws tiling and offset fields for explicit values, either inside a texture property control or separately.