API ReferenceSandbox
public sealed class Sandbox.MeshComponent : Sandbox.Collider
An editable polygon mesh with collision
Constructors
Showing 1 constructors
public MeshComponent()
No results match this filter.
Methods
Showing 3 methods
public virtual sealed Sandbox.Material GetMaterial(int triangle)
public void RebuildMesh()
public virtual sealed void SetMaterial(Sandbox.Material material, int triangle)
No results match this filter.
Properties
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; }
public virtual bool Sandbox.MeshComponent.IsConcave { get; set; }
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; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.MeshComponent |