mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 00:44:49 +08:00
Cutscene viewer vehicles
This commit is contained in:
@@ -2734,6 +2734,22 @@ namespace CodeWalker.Rendering
|
||||
}
|
||||
}
|
||||
|
||||
public void RenderVehicle(Vehicle vehicle, ClipMapEntry animClip = null)
|
||||
{
|
||||
|
||||
YftFile yft = vehicle.Yft;
|
||||
if ((yft != null) && (yft.Loaded) && (yft.Fragment != null))
|
||||
{
|
||||
var f = yft.Fragment;
|
||||
var txdhash = vehicle.NameHash;
|
||||
|
||||
RenderFragment(null, vehicle.RenderEntity, f, txdhash, animClip);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void RenderPed(Ped ped)
|
||||
|
||||
Reference in New Issue
Block a user