TextureHeight
Last updated
Was this helpful?
TextureHeight controls the portion of the SpriteRuntime's Texture which is displayed. This value is measured in pixels. This value is only applied if a SpriteRuntime's TextureAddress is set to Custom or DimensionsBased.
The following code assigns a SpriteRuntime's TextureHeight:
// Initialize
// Assuming a Sprite's TextureAddress is set to Custom
sprite.TextureHeight = 64;Last updated
Was this helpful?
Was this helpful?

