Skip to content

Commit

Permalink
Update Animation_API.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris authored Aug 9, 2018
1 parent aecb2d4 commit fa3f90a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/Animation_API.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
You can control animation blueprints variables and events easily:

```py

from unreal_engine.classes import SkeletalMeshComponent

# get a reference to the skeletal mesh
skeletal = self.uobject.get_component_by_type('SkeletalMeshComponent')
skeletal = self.uobject.get_component_by_type(SkeletalMeshComponent)
# get a reference to the animation class
animation = skeletal.get_anim_instance()

Expand Down

0 comments on commit fa3f90a

Please sign in to comment.