Garry's Mod Wiki

ProjectedTexture:IsValid

boolean ProjectedTexture:IsValid()

Description

Returns true if the projected texture is valid (i.e. has not been removed), false otherwise.

Instead of calling this directly it's a good idea to call IsValid in case the variable is nil.

IsValid( ptexture )

This not only checks whether the projected texture is valid - but also checks whether it's nil.

Returns

1 boolean
Whether the projected texture is valid.

Page Links


Special Pages


Wikis

?

Render Time: 21ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 7