Table of Contents

Class IDMapProperties

Namespace
Gamelogic.Fx.Mapping.Maps
Assembly
Gamelogic.Fx.dll

Properties for rendering out an ID map. See ../common/docs/map-renderers-reference-common.html#id-map.

[Serializable]
public sealed class IDMapProperties : MapProperties
Inheritance
IDMapProperties
Inherited Members

Properties

ShaderName

Gets the name of the shader used by this property set.

public override string ShaderName { get; }

Property Value

string

Remarks

This name is passed to the internal shader lookup system when the properties are enabled. It should match the full shader path as defined in the shader file.

Methods

SetRendererProperties(MaterialPropertyBlock, Renderer)

Applies per-renderer properties before drawing a renderer into the map.

public override void SetRendererProperties(MaterialPropertyBlock block, Renderer renderer)

Parameters

block MaterialPropertyBlock

The MaterialPropertyBlock used for this draw call.

renderer Renderer

The renderer currently being drawn into the map.

Remarks

Override this method to set renderer-specific data such as object IDs, per-object colors, UV transforms, or custom attributes.