MeshComponentclass

An editable polygon mesh with collision

objectColliderMeshComponent
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.MeshComponent : Sandbox.Collider

Constructors1

Showing 1 constructors

Methods3

Showing 3 methods

public virtual sealed Sandbox.Material GetMaterial(int triangle)PUBLICVIRTUAL

ParameterTypeDescription
triangleint
Returns:Material

public void RebuildMesh()PUBLIC

Returns:void

public virtual sealed void SetMaterial(Sandbox.Material material, int triangle)PUBLICVIRTUAL

ParameterTypeDescription
materialMaterial
triangleint
Returns:void

Properties8

Showing 8 properties

public bool Sandbox.MeshComponent.HideInGame { get; set; }PUBLICGETSET

Returns:bool

public virtual bool Sandbox.MeshComponent.IsConcave { get; set; }PUBLICVIRTUALGETSET

Returns:bool

public float Sandbox.MeshComponent.SmoothingAngle { get; set; }PUBLICGETSET

Returns:float

On this page