UEMaterial

Members

Enums

CullMode
enum CullMode

Functions

onCreate
void onCreate()
onDestroy
void onDestroy()
postRender
void postRender()
preRender
void preRender()
setProgram
void setProgram(string _vs, string _fs, string _name)
validate
void validate()

Properties

attribLocation
GLAtrribTypes attribLocation [@property setter]
uniforms
GLMaterialUniforms uniforms [@property getter]

Static variables

fs_flat
string fs_flat;
Undocumented in source.
fs_flatcolor
string fs_flatcolor;
Undocumented in source.
fs_shaded
string fs_shaded;
Undocumented in source.
fs_tex
string fs_tex;
Undocumented in source.
vs_flat
string vs_flat;
Undocumented in source.
vs_flatcolor
string vs_flatcolor;
Undocumented in source.
vs_shaded
string vs_shaded;
Undocumented in source.
vs_tex
string vs_tex;
Undocumented in source.

Variables

cullMode
CullMode cullMode;
depthTest
bool depthTest;
polygonFill
bool polygonFill;
texture
UETexture2D texture;

Inherited Members

From UEComponent

onUpdate
void onUpdate()
onCreate
void onCreate()
onDestroy
void onDestroy()
onCollision
void onCollision(UEComponent )
enabled
bool enabled [@property getter]
enabled
bool enabled [@property setter]
entity
UEEntity entity [@property getter]
sceneNode
UESceneNode sceneNode [@property getter]
registerEvent
void registerEvent(UEEventType _type, UEEventCallback _callback)

helper

getMenuItems
void getMenuItems(EditorMenuItem[] items)
setEntity
void setEntity(UEEntity _entity)

Meta