TrailTextureConfigclass

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

objectTrailTextureConfig
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.TrailTextureConfig

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

public bool DoesMaterialUseLineShader(Sandbox.Material value)PUBLIC

ParameterTypeDescription
valueMaterial
Returns:bool

Properties11

Showing 11 properties

public bool Sandbox.TrailTextureConfig.Clamp { get; set; }PUBLICGETSETOBSOLETE

If true the texture will be clamped instead of repeating

Obsolete: Use Texture Address Mode property instead

Returns:bool

public float Sandbox.TrailTextureConfig.UnitsPerTexture { get; set; }PUBLICGETSET

Returns:float

public bool Sandbox.TrailTextureConfig.WorldSpace { get; set; }PUBLICGETSET

Returns:bool

On this page