For the complete documentation index, see llms.txt. This page is also available as Markdown.

TextureHeight

Introduction

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.

Example - Assigning TextureHeight

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?