Class MobilePersonBillboard
Billboard class for classic wandering NPCs found in town environments.
Namespace: DaggerfallWorkshop
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class MobilePersonBillboard : MobilePersonAsset
Properties
| Improve this Doc View SourceIsIdle
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
Methods
| Improve this Doc View SourceGetSize()
Gets billboard size.
Declaration
public sealed override Vector3 GetSize()
Returns
Type | Description |
---|---|
Vector3 | Vector2 of billboard width and height. |
Overrides
| Improve this Doc View SourceSetPerson(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 |