Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Particle::CreateMatDecal Method
Syntax
C++
int CreateMatDecal(IFunctionHandler* pH, Vec3 pos, Vec3 normal, float size, float lifeTime, const char* materialName);
Parameters 
Description 
Vec3 pos 
Decal position. 
Vec3 normal 
Decal normal vector. 
float size 
Decal size. 
float lifeTime 
Decal life time. 
const char* materialName 
Name of the Material. 

!

Particle.CreateMatDecal( pos, normal, size, lifeTime, materialName )

!  

!  

!  

!  

!  

! Creates a material decal.

Copyright (c) 2012. All rights reserved.