π Developer Docs
API reference for StarfallEx β 1,139 functions across 1 namespace Β· 99% verified
Recently Updated
SFEX.Material:downloadTexture
StarfallEx
Given a texture key, reloads file-based textures from disk, or clears render target textures.
Material:downloadTexture(key)SFEX.hook.ShouldDrawPlayer
StarfallEx
Return false to prevent rendering a player
hook.add("ShouldDrawPlayer", "name", function(ply, flags) end)SFEX.hook.PreDrawPlayer
StarfallEx
Called before drawing the player. (Only works with HUD) (3D Context) Rendering using this hook may cause other effects or colors on the player to not work
hook.add("PreDrawPlayer", "name", function(ply, flags) end)SFEX.ProjectedTexture:setTextureRenderTarget
StarfallEx
Sets the Projected Texture's texture from a render target. Will not take effect until ProjectedTexture:update() is called.
ProjectedTexture:setTextureRenderTarget(name)SFEX.render.createRenderTarget
StarfallEx
Creates a new render target to draw onto. The dimensions will always be 1024x1024
render.createRenderTarget(name)SFEX.effect.create
StarfallEx
Creates an effect data structure angles - Angle angle of the effect attachment - number Entity attachment id to attach to color - number The color to set the effect (This is an 8 bit color integer specific to the effect implementation) damagetype - number The damage type of the effect entindex - number The entity index to set the effect to (SERVER only) entity - Entity entity to set the effect to flags - number Flags to add to the effect hitbox - number The hitbox id of the effect magnitude - number A magnitude value of the effect materialindex - number The material index of the effect normal - Vector A normal vector of the effect origin - Vector The origin vector of the effect radius - number The radius value of the effect scale - number The scale value of the effect start - Vector the start vector of the effect surfaceprop - number The surfaceprop id of the effect
effect.create(name, data, nofilter)