igor::iSpriteRendererComponent Struct Reference

#include <iComponents.h>

Public Attributes

iSpritePtr _sprite
 
iaVector2d _size = {1.0, 1.0}
 
iaColor4f _color = iaColor4f::white
 
int32 _zIndex = 0
 
iSpriteRenderMode _renderMode = iSpriteRenderMode::Simple
 
uint32 _frameIndex = 0
 

Detailed Description

sprite render component

Member Data Documentation

◆ _color

iaColor4f igor::iSpriteRendererComponent::_color = iaColor4f::white

color to render sprite with

◆ _frameIndex

uint32 igor::iSpriteRendererComponent::_frameIndex = 0

index of the sprite frame to render

◆ _renderMode

iSpriteRenderMode igor::iSpriteRendererComponent::_renderMode = iSpriteRenderMode::Simple

sprite render mode

◆ _size

iaVector2d igor::iSpriteRendererComponent::_size = {1.0, 1.0}

render size

◆ _sprite

iSpritePtr igor::iSpriteRendererComponent::_sprite

sprite to render

◆ _zIndex

int32 igor::iSpriteRendererComponent::_zIndex = 0

specifies the render order within a layer


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