Api Sandbox TrailTextureConfig
struct

TrailTextureConfig

public sealed struct TrailTextureConfig

Defines how a trail is going to be textured. Used by TrailRenderer.

Constructors

TrailTextureConfig()

Properties

Name Type Description
Default static TrailTextureConfig
Texture Texture
Material Material
WorldSpace Boolean
UnitsPerTexture Single
Scale Single
Offset Single
Scroll Single
FilterMode FilterMode
TextureAddressMode TextureAddressMode
Clamp Boolean If true the texture will be clamped instead of repeating

Methods

Boolean DoesMaterialUseLineShader(Material value)
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.TrailTextureConfig