This article's documentation is for anything that uses the Source engine. Click here for more information.

Env sprite oriented: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(This entity was present since Orange Box (Source 2007).)
 
(30 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{wrongtitle|title=env_sprite_oriented}}
{{LanguageBar}}
{{base_point|env_sprite_oriented}}
{{CD|CSpriteOriented|file1=Sprite.cpp}}
{{stub}}
{{screenshot}}
==Entity Description==
{{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}}.


==Keyvalues==
{{note|The only [[render modes]] that render sprite transparency are ''Glow'', ''Additive'', ''Additive Fractional Frame'', ''World Space Glow'' and ''Alpha Add'' {{not in FGD}}.}}


==Flags==
{{OtherKIO|env_sprite|All}}


==Inputs==
==See also==
 
*{{ent|env_sprite}}
==Outputs==
*{{ent|env_sprite_clientside}}
*{{ent|env_lightglow}}
*{{ent|env_lensflare}}

Latest revision as of 06:23, 22 March 2025

English (en)Translate (Translate)
C++ Class hierarchy
CSpriteOriented
CSprite
CBaseEntity
C++ Sprite.cpp
Nuvola apps ksnapshot.png
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.

env_sprite_oriented is a point entity available in all Source Source games since Source 2007 Source 2007. It is also available in Black Mesa Black Mesa and Mapbase 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.pngNote:The only render modes that render sprite transparency are Glow, Additive, Additive Fractional Frame, World Space Glow and Alpha Add !FGD.
Note.pngNote:All Keyvalues / Inputs / Outputs are same as env_sprite.

See also