Show / Hide Table of Contents

Class MobilePersonBillboard

Billboard class for classic wandering NPCs found in town environments.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
MobilePersonAsset
MobilePersonBillboard
Inherited Members
MobilePersonAsset.Trigger
MobilePersonAsset.GetLayerMask()
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class MobilePersonBillboard : MobilePersonAsset

Properties

| Improve this Doc View Source

IsIdle

Gets or sets idle state. Daggerfall NPCs are either in or motion or idle facing player. This only controls anim state, actual motion is handled by MobilePersonMotor.

Declaration
public sealed override bool IsIdle { get; set; }
Property Value
Type Description
Boolean
Overrides
MobilePersonAsset.IsIdle

Methods

| Improve this Doc View Source

GetSize()

Gets billboard size.

Declaration
public sealed override Vector3 GetSize()
Returns
Type Description
Vector3

Vector2 of billboard width and height.

Overrides
MobilePersonAsset.GetSize()
| Improve this Doc View Source

SetPerson(Races, Genders, Int32, Boolean, Int32, Int32)

Setup this person based on race and gender.

Declaration
public override void SetPerson(Races race, Genders gender, int personVariant, bool isGuard, int personFaceVariant, int personFaceRecordId)
Parameters
Type Name Description
Races race
Genders gender
Int32 personVariant
Boolean isGuard
Int32 personFaceVariant
Int32 personFaceRecordId
Overrides
MobilePersonAsset.SetPerson(Races, Genders, Int32, Boolean, Int32, Int32)

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
Back to top Generated by DocFX