Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.MaterialInstanceConstant


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
/**
 * Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
 */
class MaterialInstanceConstant extends MaterialInstance
    native(Material)
    hidecategories(Object)
    collapsecategories;


struct native FontParameterValue
{
    var() name      ParameterName;
    var() Font      FontValue;
    var() int       FontPage;
    var   guid      ExpressionGUID;
};

struct native ScalarParameterValue
{
    var() name  ParameterName;
    var() float ParameterValue;
    var   guid  ExpressionGUID;
};

struct native TextureParameterValue
{
    var() name      ParameterName;
    var() Texture   ParameterValue;
    var   guid      ExpressionGUID;
};

struct native VectorParameterValue
{
    var() name          ParameterName;
    var() LinearColor   ParameterValue;
    var   guid          ExpressionGUID;
};



var() const array<FontParameterValue>       FontParameterValues;
var() const array<ScalarParameterValue>     ScalarParameterValues;
var() const array<TextureParameterValue>    TextureParameterValues;
var() const array<VectorParameterValue>     VectorParameterValues;


// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

// SetParent - Updates the parent.

native function SetParent(MaterialInterface NewParent);

// Set*ParameterValue - Updates the entry in ParameterValues for the named parameter, or adds a new entry.

native function SetScalarParameterValue(name ParameterName, float Value);
native function SetTextureParameterValue(name ParameterName, Texture Value);
native function SetVectorParameterValue(name ParameterName, LinearColor Value);

/**
* Sets the value of the given font parameter.  
*
* @param    ParameterName   The name of the font parameter
* @param    OutFontValue    New font value to set for this MIC
* @param    OutFontPage     New font page value to set for this MIC
*/
native function SetFontParameterValue(name ParameterName, Font FontValue, int FontPage);


/** Removes all parameter values */
native function ClearParameterValues();

defaultproperties
{
   Name="Default__MaterialInstanceConstant"
   ObjectArchetype=MaterialInstance'Engine.Default__MaterialInstance'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Thu 22/11/2007 16:02:38.000 - Creation time: Mon 26/11/2007 17:41:51.281 - Created with UnCodeX