Class CustomMeshComponent
Component that allows you to specify custom triangle mesh geometry
Inheritance
System.Object
CustomMeshComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.CustomMeshComponent
Assembly: UE4DotNet.dll
Syntax
public class CustomMeshComponent : MeshComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static CustomMeshComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
CustomMeshComponent |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceAddCustomMeshTriangles(Byte)
Add to the geometry to use on this triangle mesh. This may cause an allocation. Use SetCustomMeshTriangles() instead when possible to reduce allocations.
Declaration
public void AddCustomMeshTriangles(byte Triangles)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | Triangles |
ClearCustomMeshTriangles()
Removes all geometry from this triangle mesh. Does not deallocate memory, allowing new geometry to reuse the existing allocation.
Declaration
public void ClearCustomMeshTriangles()
New(UObject, Name)
Spawn an object of this class
Declaration
public static CustomMeshComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
CustomMeshComponent |
SetCustomMeshTriangles(Byte)
Set the geometry to use on this triangle mesh
Declaration
public bool SetCustomMeshTriangles(byte Triangles)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | Triangles |
Returns
Type | Description |
---|---|
System.Boolean |
Operators
| Improve this Doc View SourceImplicit(IntPtr to CustomMeshComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator CustomMeshComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
CustomMeshComponent |