Files
ppg-modkit/extracted_wiki_content/internalReference/decalinstruction.txt

25 lines
866 B
Plaintext

URL: https://wiki.studiominus.nl/internalReference/DecalInstruction.html
Title: People Playground Modding - DecalInstruction
==================================================
public struct DecalInstruction
All information needed to create a decal on an object.
Properties
public DecalDescriptor type { get; set; }
The decal descriptor. This decides what decal will be placed.
public Vector2 globalPosition { get; set; }
The traget position in global space.
public float size { get; set; }
The size of the decal.
public Color colourMultiplier { get; set; }
The colour multiplier of the decal
Methods
public (constructor) DecalInstruction(DecalDescriptor type, Vector2 globalPosition, float size = 1)
No description provided
public (constructor) DecalInstruction(DecalDescriptor type, Vector2 globalPosition, Color color, float size = 1)
No description provided