API ReferenceSandbox
MeshComponentclass
An editable polygon mesh with collision
Constructors1
Showing 1 constructors
public MeshComponent()
No results match this filter.
Methods3
Showing 3 methods
public virtual sealed Sandbox.Material GetMaterial(int triangle)
| Parameter | Type | Description |
|---|---|---|
| triangle | int | — |
public void RebuildMesh()
Returns:
void—No results match this filter.
Properties8
Showing 8 properties
public Sandbox.MeshComponent.CollisionType Sandbox.MeshComponent.Collision { get; set; }
public virtual sealed Color Sandbox.MeshComponent.Color { get; set; }
public bool Sandbox.MeshComponent.HideInGame { get; set; }
Returns:
bool—public virtual bool Sandbox.MeshComponent.IsConcave { get; set; }
Returns:
bool—public Sandbox.PolygonMesh Sandbox.MeshComponent.Mesh { get; set; }
public Sandbox.Model Sandbox.MeshComponent.Model { get; set; }
public Sandbox.ModelRenderer.ShadowRenderType Sandbox.MeshComponent.RenderType { get; set; }
public float Sandbox.MeshComponent.SmoothingAngle { get; set; }
Returns:
float—No results match this filter.