Struct VertexWeight
A single entry of a weight table row.
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fusee.Engine.Core.Scene
Assembly: Fusee.Engine.Core.dll
Syntax
public struct VertexWeight
Fields
JointIndex
The joint index controlling the vertex.
Declaration
public int JointIndex
Field Value
Type | Description |
---|---|
System.Int32 |
Weight
The weight (the influence) of the bone on the vertex's transformation.
Declaration
public float Weight
Field Value
Type | Description |
---|---|
System.Single |
Methods
Equals(Object)
Check if two vertex weights are the same
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Returns the hash code of one vertex weight
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.ValueType.GetHashCode()
Operators
Equality(VertexWeight, VertexWeight)
Check if two vertex weights are the same
Declaration
public static bool operator ==(VertexWeight left, VertexWeight right)
Parameters
Type | Name | Description |
---|---|---|
VertexWeight | left | |
VertexWeight | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(VertexWeight, VertexWeight)
Check if two vertex weights aren't the same
Declaration
public static bool operator !=(VertexWeight left, VertexWeight right)
Parameters
Type | Name | Description |
---|---|---|
VertexWeight | left | |
VertexWeight | right |
Returns
Type | Description |
---|---|
System.Boolean |