Env sprite oriented: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 
 Note:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD.
Note:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD.
 Note:All
Note:All 
		
	
|  (This entity was present since Orange Box (Source 2007).) | |||
| Line 2: | Line 2: | ||
| {{CD|CSpriteOriented|file1=Sprite.cpp}} | {{CD|CSpriteOriented|file1=Sprite.cpp}} | ||
| {{screenshot}} | {{screenshot}} | ||
| {{this is a|point entity|name=env_sprite_oriented|since= | {{this is a|point entity|name=env_sprite_oriented|since=Source 2007}} It is also available in {{bms|4}} and {{mapbase|4}}. It works like {{ent|env_sprite}} but is forced to stay in one direction instead of always turning to face the player. The [[sprite]] material needs to use {{ent|$spriteorientation}}. | ||
| {{note|The only [[render modes]] that render sprite transparency are ''Glow'', ''Additive'', ''Additive Fractional Frame'', ''World Space Glow'' and ''Alpha Add'' {{not in FGD}}.}} | {{note|The only [[render modes]] that render sprite transparency are ''Glow'', ''Additive'', ''Additive Fractional Frame'', ''World Space Glow'' and ''Alpha Add'' {{not in FGD}}.}} | ||
Latest revision as of 06:23, 22 March 2025

 
|  Class hierarchy | 
|---|
| CSpriteOriented | 
|  Sprite.cpp | 

This article or section needs a screenshot to help visually convey the subject.
You can upload screenshots at Special:Upload. For help, see Help:Images.
You can upload screenshots at Special:Upload. For help, see Help:Images.
env_sprite_oriented  is a   point entity  available in all  Source games since
 Source games since  Source 2007. It is also available in
 Source 2007. It is also available in  Black Mesa and
 Black Mesa and  Mapbase. It works like env_sprite but is forced to stay in one direction instead of always turning to face the player. The sprite material needs to use $spriteorientation.
 Mapbase. It works like env_sprite but is forced to stay in one direction instead of always turning to face the player. The sprite material needs to use $spriteorientation.
 Note:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD.
Note:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD. Note:All
Note:All Keyvalues / Inputs / Outputs are same as env_sprite.























