| proto native hDecal CreateDecal | ( | IEntity | entity, |
| vector | origin, | ||
| vector | project, | ||
| float | nearclip, | ||
| float | angle, | ||
| float | size, | ||
| string | materialName, | ||
| float | lifetime, | ||
| int | flags ) |
Creates single visual mark, e.g. from shots when lifetime=0, pointer to decal is returned, that can be removed by RemoveDecal then
| entity | entity where the landmark should be created |
| origin | first point of the decal, nothing is done now |
| project | projection direction (length is far clipping distance) |
| nearclip | near clipping distance |
| materialName | Material used for decal |
| lifetime | Lifetime in seconds |
| flags | Not used ATM |