MCPcopy Create free account
hub / github.com/Illation/ETEngine / SpriteComponent

Method SpriteComponent

Engine/source/EtFramework/Components/SpriteComponent.cpp:70–74  ·  view source on GitHub ↗

------------------------ SpriteComponent::c-tor

Source from the content-addressed store, hash-verified

68// SpriteComponent::c-tor
69//
70SpriteComponent::SpriteComponent(core::HashString const textureAsset, vec2 const& pivot, vec4 const& color)
71 : m_TextureAssetId(textureAsset)
72 , m_Pivot(pivot)
73 , m_Color(color)
74{}
75
76//-----------------------------
77// SpriteComponent::SetTexture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected