Package net.risingworld.api.definitions
Class Npcs.NpcDefinition.NpcAttachmentInfo
java.lang.Object
net.risingworld.api.definitions.Npcs.NpcDefinition.NpcAttachmentInfo
- Enclosing class:
Npcs.NpcDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionName of an optional anchor (for further use), which is child of the attachment prefab.Asset path to a prefab that should be attached to the npcString[]Optional array of bones (only relevant for skinned mesh renderer).Related item definitionLocal offset of the attachment prefabName of the bone where the attachment will be attached to.Optional root bone (only relevant for skinned mesh renderer).Local rotation of the attachment prefabLocal scale of the attachment prefabint -
Method Summary
-
Field Details
-
npcDef
-
variant
public int variant -
itemDef
Related item definition -
assetpath
Asset path to a prefab that should be attached to the npc -
parent
Name of the bone where the attachment will be attached to. If null, it will be attached to the main npc object -
rootbone
Optional root bone (only relevant for skinned mesh renderer). May be null -
bones
Optional array of bones (only relevant for skinned mesh renderer). May be null -
anchor
Name of an optional anchor (for further use), which is child of the attachment prefab. If null, the main prefab object will be the attach target -
offset
Local offset of the attachment prefab -
rotation
Local rotation of the attachment prefab -
scale
Local scale of the attachment prefab
-