Class MeshComponent
MeshComponent is an abstract base for any component that is an instance of a renderable collection of triangles.
Inheritance
System.Object
MeshComponent
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)
Assembly: UE4DotNet.dll
Syntax
public class MeshComponent : PrimitiveComponent
Properties
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MeshComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
OverrideMaterials
Declaration
public ObjectArrayField<MaterialInterface> OverrideMaterials { get; }
Property Value
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetMaterialIndex(Name)
Declaration
public int GetMaterialIndex(Name MaterialSlotName)
Parameters
Type |
Name |
Description |
Name |
MaterialSlotName |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetMaterials()
Declaration
public IReadOnlyCollection<MaterialInterface> GetMaterials()
Returns
|
Improve this Doc
View Source
GetMaterialSlotNames()
Declaration
public IReadOnlyCollection<Name> GetMaterialSlotNames()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<Name> |
|
|
Improve this Doc
View Source
IsMaterialSlotNameValid(Name)
Is Material Slot Name Valid
Declaration
public bool IsMaterialSlotNameValid(Name MaterialSlotName)
Parameters
Type |
Name |
Description |
Name |
MaterialSlotName |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static MeshComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
PrestreamTextures(Single, Boolean, Int32)
Tell the streaming system to start loading all textures with all mip-levels.
Declaration
public void PrestreamTextures(float Seconds, bool bPrioritizeCharacterTextures, int CinematicTextureGroups)
Parameters
Type |
Name |
Description |
System.Single |
Seconds |
|
System.Boolean |
bPrioritizeCharacterTextures |
|
System.Int32 |
CinematicTextureGroups |
|
|
Improve this Doc
View Source
SetScalarParameterValueOnMaterials(Name, Single)
Set all occurrences of Scalar Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue
Declaration
public void SetScalarParameterValueOnMaterials(Name ParameterName, float ParameterValue)
Parameters
Type |
Name |
Description |
Name |
ParameterName |
|
System.Single |
ParameterValue |
|
|
Improve this Doc
View Source
SetVectorParameterValueOnMaterials(Name, Vector)
Set all occurrences of Vector Material Parameters with ParameterName in the set of materials of the SkeletalMesh to ParameterValue
Declaration
public void SetVectorParameterValueOnMaterials(Name ParameterName, Vector ParameterValue)
Parameters
Type |
Name |
Description |
Name |
ParameterName |
|
Vector |
ParameterValue |
|
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to MeshComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator MeshComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns