Garry's Mod Wiki

ProjectedTexture:SetTargetEntity

ProjectedTexture:SetTargetEntity

ProjectedTexture:SetTargetEntity( Entity target = NULL )

Description

Sets the target entity for this projected texture, meaning it will only be lighting the given entity and the world.

You must call ProjectedTexture:Update after using this function for it to take effect.

Arguments

1 Entity target = NULL
The target entity, or NULL to reset.

Special Pages


Wikis

?

Render Time: 83ms

DB GetPage 64
Generate Html 2
SaveChanges (1) 7
Render Body 0
Render Sidebar 8