Skip to content

MeshComponent

class · namespace Hazel · Component

Inherits Component · Implements IEquatable<MeshComponent>

public class MeshComponent : Component, IEquatable<MeshComponent>

Properties

IsRigged

public bool IsRigged { get; }

Mesh

public Mesh? Mesh { get; set; }

Visible

public bool Visible { get; set; }

Methods

Equals(MeshComponent?)

public bool Equals(MeshComponent? right)

Equals(object?)

public override bool Equals(object? obj)

GetHashCode()

public override int GetHashCode()

GetMaterial(int)

public Material? GetMaterial(int index)

HasMaterial(int)

public bool HasMaterial(int index)

Operators

operator !=(MeshComponent, MeshComponent)

static

public static bool operator !=(MeshComponent left, MeshComponent right)

operator ==(MeshComponent, MeshComponent)

static

public static bool operator ==(MeshComponent left, MeshComponent right)

Source: Hazel/Scene/Components.cs