Space Engineers
Public Member Functions | Public Attributes | List of all members
Sandbox.Graphics.MyTextureAtlasItem Struct Reference

Public Member Functions

 MyTextureAtlasItem (string atlasTex, Vector4 uvOffsets)
 

Public Attributes

string AtlasTexture
 The Texture2D that this item is part of More...
 
Vector4 UVOffsets
 The UVOffsets describe where this item sits in the AtlasTexture. The four components are U offset, V offset, Width and Height More...
 

Detailed Description

Definition at line 19 of file MyTextureAtlas.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.MyTextureAtlasItem.MyTextureAtlasItem ( string  atlasTex,
Vector4  uvOffsets 
)
inline

Definition at line 33 of file MyTextureAtlas.cs.

Member Data Documentation

string Sandbox.Graphics.MyTextureAtlasItem.AtlasTexture

The Texture2D that this item is part of

Definition at line 24 of file MyTextureAtlas.cs.

Vector4 Sandbox.Graphics.MyTextureAtlasItem.UVOffsets

The UVOffsets describe where this item sits in the AtlasTexture. The four components are U offset, V offset, Width and Height

Definition at line 31 of file MyTextureAtlas.cs.


The documentation for this struct was generated from the following file: