Show / Hide Table of Contents

Interface IMyDecalProxy

Namespace: VRage.Game.ModAPI.Interfaces
Assembly: VRage.Game.dll
Syntax
public interface IMyDecalProxy

Methods

AddDecals(ref MyHitInfo, MyStringHash, Vector3, Object, IMyDecalHandler, MyStringHash, MyStringHash, Boolean, MyDecalFlags, Int32, List<UInt32>)

Called from Sandbox.Game.MyDecals

Declaration
void AddDecals(ref MyHitInfo hitInfo, MyStringHash source, Vector3 forwardDirection, object customdata, IMyDecalHandler decalHandler, MyStringHash physicalMaterial, MyStringHash voxelMaterial, bool isTrail, MyDecalFlags flags, int aliveUntil = 2147483647, List<uint> outids = null)
Parameters
Type Name Description
MyHitInfo hitInfo

Describes where it should be placed

MyStringHash source

Decal material

Vector3 forwardDirection

Use for rotation of decal

System.Object customdata

Custom information about how to position decals

IMyDecalHandler decalHandler

Sandbox.Game.MyDecals instance.

MyStringHash physicalMaterial

Physical material

MyStringHash voxelMaterial

Voxel material

System.Boolean isTrail

Is it trail, that wheels are leaving

VRageRender.MyDecalFlags flags

VRageRender.MyDecalFlags

System.Int32 aliveUntil

Time in frames. When it is less than GameplayFrameCounter, it would be removed

System.Collections.Generic.List<System.UInt32> outids

If not null, generated decal ids would be added to that list

☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾