Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Particle::CreateDecal Method
Syntax
C++
int CreateDecal(IFunctionHandler * pH, Vec3 pos, Vec3 normal, float size, float lifeTime, const char * textureName);
Parameters 
Description 
Vec3 pos 
Decal position. 
Vec3 normal 
Decal normal vector. 
float size 
Decal size. 
float lifeTime 
Decal life time. 
textureName - Name of the texture.</param 
! Creates a decal with the specified parameters. 

!

Particle.CreateDecal( pos, normal, size, lifeTime, textureName )

!  

!  

!  

!  

!

Copyright (c) 2012. All rights reserved.