TextureBase:SetTextureSliceMargins
Jump to navigation
Jump to search
Enables nineslice texture rendering using the specified pixel margins.
TextureBase:SetTextureSliceMargins(left, top, right, bottom)
Arguments
- left
- number
- top
- number
- right
- number
- bottom
- number
Details
- Preferred over legacy nineslice approach that uses 9 separate textures.