# Texture Slot Component
Grammar — Slot component type of texture
Flags —Native
|Function
Query a texture and returns which component this texture belongs to. (Diffuse, Normal, Specular or Emissive)
# Arguments
string
[ gamelink::Texture ] — Texture
Returns — int
native int TextureGetSlotComponent(string textureLink);
# Related
Category: Actor / Utility
- [F] —
text
— Actor Get Text — ( ActorGetText ) - [F] —
actor
— Actor From Reference — ( ActorRefGet ) - [F] —
text
— Actor Scope Get Text — ( ActorScopeGetText ) - [F] —
actor
— Actor From — ( ActorFrom ) - [F] —
actor
— Actor From Actor — ( ActorFromActor ) - [F] —
actor
— Actor From Doodad — ( ActorFromDoodad ) - [F] —
actor
— Actor From Portrait — ( ActorFromPortrait ) - [F] —
actor
— Actor From Dialog Item — ( ActorFromDialogControl ) - [F] —
actor
— Actor From Scope — ( ActorFromScope ) - [F] —
actor
— Actor From Unit — ( libNtve_gf_MainActorofUnit ) - [F] —
actorscope
— Actor Scope From — ( ActorScopeFrom ) - [F] —
actorscope
— Actor Scope From Actor — ( ActorScopeFromActor ) - [F] —
actorscope
— Actor Scope From Portrait — ( ActorScopeFromPortrait ) - [F] —
actorscope
— Actor Scope From Dialog Item — ( ActorScopeFromDialogControl ) - [F] —
actorscope
— Actor Scope From Unit — ( ActorScopeFromUnit ) - [F] —
int
— Texture Slot Component — ( TextureGetSlotComponent ) - [F] —
string
— Texture Slot Name — ( TextureGetSlotName ) - [F] —
void
— Actor Set Reference — ( ActorRefSet ) - [F] —
void
— Apply Global Texture Group — ( ActorTextureGroupApplyGlobal ) - [F] —
void
— Remove Global Texture Group — ( ActorTextureGroupRemoveGlobal ) - [F] —
void
— Push Texture Group — ( ActorTextureGroupPush ) - [F] —
void
— Pop Texture Group — ( ActorTextureGroupPop ) - [F] —
void
— Make Actor Face Angle — ( libNtve_gf_MakeModelFaceAngle ) - [F] —
void
— Play Movie Texture On Unit Actor — ( libNtve_gf_PlayMovieTextureOnUnitActor ) - [F] —
void
— Stop All Video Textures On Unit — ( libNtve_gf_StopAllVideoTexturesOnUnit ) - [F] —
void
— Show/Hide Doodads In Region — ( libNtve_gf_ShowHideDoodadsInRegion ) - [F] —
void
— Actor Add Orient Update — ( ActorAddOrientUpdate )
# Examples
# campaigns/liberty.sc2campaign
// L13030
TextureGetSlotComponent(gv_briefingVideoPlaying)
// L13030
TextureGetSlotComponent(gv_briefingVideoPlaying)
# mods/core.sc2mod
// L1081
TextureGetSlotComponent(lp_texture)
// L1087
TextureGetSlotComponent(lp_texture)
// L1093
TextureGetSlotComponent(lp_texture)
// L1099
TextureGetSlotComponent(lp_texture)
// L1105
TextureGetSlotComponent(lp_texture)
// L976
TextureGetSlotComponent(lp_texture)
// L982
TextureGetSlotComponent(lp_texture)
// L988
TextureGetSlotComponent(lp_texture)
// L994
TextureGetSlotComponent(lp_texture)
// L1000
TextureGetSlotComponent(lp_texture)