Class XenFloraAnimatedMoverSceneNode
Namespace: ValveResourceFormat.Renderer.SceneNodes
Assembly: Renderer.dll
Animates a xen_flora_animatedmover model along a chain of path_corner nodes.
public class XenFloraAnimatedMoverSceneNode : ModelSceneNodeInheritance
object ← SceneNode ← MeshCollectionNode ← ModelSceneNode ← XenFloraAnimatedMoverSceneNode
Inherited Members
ModelSceneNode.Tint, ModelSceneNode.AnimationController, ModelSceneNode.Animations, ModelSceneNode.Attachments, ModelSceneNode.AttachedNodes, ModelSceneNode.ActiveMaterialGroup, ModelSceneNode.HasMeshes, ModelSceneNode.IsAnimated, ModelSceneNode.SetCharacterEyeRenderParams(), ModelSceneNode.GetMeshBoneIndex(int, RenderableMesh), ModelSceneNode.Update(Scene.UpdateContext), ModelSceneNode.HasAttachmentOrBone(string), ModelSceneNode.GetSupportedRenderModes(), ModelSceneNode.SetMaterialGroup(string), ModelSceneNode.AddAnimations(List<Animation>), ModelSceneNode.LoadAnimationClip(AnimationClip), ModelSceneNode.LoadAnimationClip(string), ModelSceneNode.SetAnimationByName(string, float), ModelSceneNode.SetAnimationForWorldPreview(string), ModelSceneNode.SetAnimation(Animation?, float), ModelSceneNode.AttachNode(SceneNode, string, Vector3, Quaternion), ModelSceneNode.PlaceNode(SceneNode, string, Vector3), ModelSceneNode.AttachNodeKeepingTransform(SceneNode), ModelSceneNode.GetAttachmentTransform(string), ModelSceneNode.GetReferenceMeshes(), ModelSceneNode.GetMeshGroups(), ModelSceneNode.GetActiveMeshGroups(), ModelSceneNode.SetActiveMeshGroups(IEnumerable<string>), ModelSceneNode.ActiveLod, ModelSceneNode.IsAutoLod, ModelSceneNode.SetActiveLod(int?), ModelSceneNode.Delete(), ModelSceneNode.ParseTwistConstraints(Model), MeshCollectionNode.Tint, MeshCollectionNode.RenderableMeshes, SceneNode.Transform, SceneNode.LayerName, SceneNode.LayerEnabled, SceneNode.BoundingBox, SceneNode.LocalBoundingBox, SceneNode.Name, SceneNode.Id, SceneNode.IsSelected, SceneNode.Flags, SceneNode.RenderAsViewmodel, SceneNode.Scene, SceneNode.Parent, SceneNode.EnvMaps, SceneNode.ShaderEnvMapVisibility, SceneNode.LightingOrigin, SceneNode.OverlayRenderOrder, SceneNode.CubeMapPrecomputedHandshake, SceneNode.LightProbeVolumePrecomputedHandshake, SceneNode.LightProbeBinding, SceneNode.EntityData, SceneNode.Update(Scene.UpdateContext), SceneNode.Render(Scene.RenderContext), SceneNode.GetSupportedRenderModes(), SceneNode.SetRenderMode(string), SceneNode.Delete(), SceneNode.GetCameraDistance(Camera)
Constructors
XenFloraAnimatedMoverSceneNode(Scene, Model, string?, Entity, IReadOnlyList<FloraMoverPathNode>, int, Matrix4x4)
Initializes a new and places it at the start of its path. Reads loop, face_forward, speed, intercept_radius, uselocaloffset, min_delay and max_delay straight off entity.
public XenFloraAnimatedMoverSceneNode(Scene scene, Model model, string? skin, EntityLump.Entity entity, IReadOnlyList<FloraMoverPathNode> path, int loopBackIndex, Matrix4x4 authoredTransform)Parameters
scene Scene
The scene this node belongs to.
model Model
The model resource to render.
skin string?
The material group (skin) name to activate, or null for the default.
entity EntityLump.Entity
The xen_flora_animatedmover entity being spawned.
path IReadOnlyList<FloraMoverPathNode>
The path_corner chain to follow, in order. Fewer than 2 nodes disables movement.
loopBackIndex int
Index to continue from after the last node, when the path data itself forms a cycle; -1 if none.
authoredTransform Matrix4x4
The entity's authored world transform (scale, rotation, and origin).
Methods
Update(UpdateContext)
Called each frame to update this node's state.
public override void Update(Scene.UpdateContext context)Parameters
context Scene.UpdateContext
The current update context.

