I'm a doctor, not a mechanic

UE3:MaterialInterface (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Surface >> MaterialInterface
Package: 
Engine
Direct subclasses:
MaterialInstance, Material
This class in other games:
UDK

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

Property group 'MaterialInterface'[edit]

PreviewMesh[edit]

Type: string

Modifiers: editoronly

The mesh used by the material editor to preview the material.

Native functions[edit]

GetFontParameterValue[edit]

native function bool GetFontParameterValue (name ParameterName, out Font OutFontValue, out int OutFontPage)


GetMaterial[edit]

native final noexport function Material GetMaterial ()


GetPhysicalMaterial[edit]

native final noexport function PhysicalMaterial GetPhysicalMaterial () const

Returns a pointer to the physical material used by this material instance.

Returns:

The physical material.

GetScalarCurveParameterValue[edit]

native function bool GetScalarCurveParameterValue (name ParameterName, out Object.InterpCurveFloat OutValue)


GetScalarParameterValue[edit]

native function bool GetScalarParameterValue (name ParameterName, out float OutValue)


GetTextureParameterValue[edit]

native function bool GetTextureParameterValue (name ParameterName, out Texture OutValue)


GetVectorCurveParameterValue[edit]

native function bool GetVectorCurveParameterValue (name ParameterName, out Object.InterpCurveVector OutValue)


GetVectorParameterValue[edit]

native function bool GetVectorParameterValue (name ParameterName, out Object.LinearColor OutValue)