Show / Hide Table of Contents

Class NPCModelRotator

Applies rotation for NPC model replacements.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
NPCModelRotator
Implements
IObjectPositioner
Namespace: DaggerfallWorkshop.Utility.AssetInjection
Assembly: Assembly-CSharp.dll
Syntax
public class NPCModelRotator : MonoBehaviour, IObjectPositioner
Remarks

This component does the following: Building Interiors - Ensures the object faces the nearest internal door, preferring visible.

Properties

| Improve this Doc View Source

AllowFlatRotation

Return false if NPC model is inside a building interior to disable random rotation.

Declaration
public virtual bool AllowFlatRotation { get; }
Property Value
Type Description
Boolean

Implements

IObjectPositioner

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • AllowFlatRotation
  • Implements
  • Extension Methods
Back to top Generated by DocFX