Garry's Mod Wiki

DSprite:SetMaterial

DSprite:SetMaterial( IMaterial material )

Description

Sets the source material for the sprite.

Arguments

1 IMaterial material
The material to use. This will ideally be an UnlitGeneric.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

Session 0
DB GetPage 3
Generate Html 5
SaveChanges 10
Render Body 0
Render Sidebar 12