-------------------------------------------------------------------------------------- Description: Script-exposed create method. Re-creates the atlas and rendering resources. Arguments: width - Atlas width height - Atlas height itemWidth - Billboard width itemHeight - Billboard height --------------------------------------------------------------------------------------
| 178 | // itemHeight - Billboard height |
| 179 | // -------------------------------------------------------------------------------------- |
| 180 | void Tr2ImpostorManager::Create( |
| 181 | Be::OptionalWithDefaultValue<uint32_t, 1024> width, |
| 182 | Be::OptionalWithDefaultValue<uint32_t, 1024> height, |
| 183 | Be::OptionalWithDefaultValue<uint32_t, 16> itemWidth, |
| 184 | Be::OptionalWithDefaultValue<uint32_t, 16> itemHeight ) |
| 185 | { |
| 186 | m_width = width; |
| 187 | m_height = height; |
| 188 | m_itemWidth = itemWidth; |
| 189 | m_itemHeight = itemHeight; |
| 190 | |
| 191 | Initialize(); |
| 192 | } |
| 193 | |
| 194 | // -------------------------------------------------------------------------------------- |
| 195 | // Description: |
no test coverage detected